Revision 20e9a378 trunk/Pithos.Client.WPF/Preferences/PreferencesView.xaml
b/trunk/Pithos.Client.WPF/Preferences/PreferencesView.xaml | ||
---|---|---|
1 | 1 |
<Window x:Class="Pithos.Client.WPF.PreferencesView" |
2 | 2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
4 |
xmlns:tb="clr-namespace:Hardcodet.Wpf.TaskbarNotification;assembly=Hardcodet.Wpf.TaskbarNotification" |
|
5 |
xmlns:cal="http://www.caliburnproject.org" |
|
6 |
x:Name="TheView" |
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
4 |
xmlns:cal="http://www.caliburnproject.org" |
|
5 |
xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended" x:Name="TheView" |
|
7 | 6 |
Title="Pithos Preferences" Height="381" Width="600" |
8 | 7 |
ShowInTaskbar="true" |
9 | 8 |
WindowStartupLocation="CenterScreen" |
10 | 9 |
Icon="/Pithos.Client.WPF;component/Images/Tray.ico" |
11 |
Background="#FFD4D0C8"> |
|
10 |
Background="{StaticResource {x:Static SystemColors.ControlBrushKey}}"> |
|
11 |
|
|
12 | 12 |
<Window.Resources> |
13 | 13 |
<ResourceDictionary> |
14 | 14 |
<ResourceDictionary.MergedDictionaries> |
... | ... | |
72 | 72 |
</ListBox.ItemTemplate> |
73 | 73 |
</ListBox> |
74 | 74 |
<StackPanel Orientation="Horizontal" Grid.Row="1"> |
75 |
<Button Name="AddPithosAccount" Content="Add Pithos" Style="{StaticResource ButtonStyle}" Width="70"/> |
|
76 |
<Button Name="AddAccount" Content="Add Manual" Style="{StaticResource ButtonStyle}" Width="70"/> |
|
77 |
<Button Name="RemoveAccount" Content="Remove" Style="{StaticResource ButtonStyle}" Width="50"/> |
|
75 |
<extToolkit:DropDownButton Content="Add" Height="25" Width="75"> |
|
76 |
<extToolkit:DropDownButton.DropDownContent> |
|
77 |
<Menu> |
|
78 |
<Menu.ItemsPanel> |
|
79 |
<ItemsPanelTemplate> |
|
80 |
<VirtualizingStackPanel Orientation="Vertical"/> |
|
81 |
</ItemsPanelTemplate> |
|
82 |
</Menu.ItemsPanel> |
|
83 |
|
|
84 |
<MenuItem Name="AddPithosAccount" Header="From Pithos" ToolTip="Go to Pithos site to login and retrieve the authentication token" cal:Message.Attach="AddPithosAccount"/> |
|
85 |
<MenuItem Name="AddAccount" Header="Manually" ToolTip="Enter account details manually" cal:Message.Attach="AddAccount"/> |
|
86 |
</Menu> |
|
87 |
</extToolkit:DropDownButton.DropDownContent> |
|
88 |
</extToolkit:DropDownButton> |
|
89 |
<Button Name="RemoveAccount" Content="Remove" Style="{StaticResource ButtonStyle}" Width="75"/> |
|
78 | 90 |
</StackPanel> |
79 | 91 |
</Grid> |
80 | 92 |
<GroupBox Header="Account" Padding="5" Margin="5" Height="231" HorizontalAlignment="Stretch" VerticalAlignment="Top" Grid.Column="1"> |
Also available in: Unified diff