DataBaseConfiguration.xaml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. <wpf:ThemableWindow x:Class="PRSDesktop.DataBaseConfiguration"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:system="clr-namespace:System;assembly=System.Runtime"
  7. xmlns:classes="clr-namespace:Comal.Classes;assembly=PRSClasses"
  8. xmlns:wpf="clr-namespace:InABox.Wpf;assembly=InABox.Wpf"
  9. xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
  10. xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
  11. mc:Ignorable="d"
  12. Title="System Configuration"
  13. Width="750"
  14. Margin="5"
  15. SizeToContent="Height"
  16. WindowStartupLocation="CenterScreen"
  17. MaxHeight="700"
  18. >
  19. <Window.Resources>
  20. <!--<Style TargetType="{x:Type ListBoxItem}">
  21. <Style.Triggers>
  22. <Trigger Property="IsFocused" Value="True">
  23. <Setter Property="Background" Value="LightGreen" />
  24. </Trigger>
  25. <Trigger Property="IsSelected" Value="True">
  26. <Setter Property="Background" Value="LightGreen" />
  27. </Trigger>
  28. <Trigger Property="IsFocused" Value="False">
  29. <Setter Property="Background" Value="Transparent" />
  30. </Trigger>
  31. </Style.Triggers>
  32. </Style>-->
  33. </Window.Resources>
  34. <Grid Margin="5">
  35. <Grid.ColumnDefinitions>
  36. <ColumnDefinition Width="100" />
  37. <ColumnDefinition Width="*" />
  38. </Grid.ColumnDefinitions>
  39. <Grid.RowDefinitions>
  40. <RowDefinition Height="Auto" />
  41. <RowDefinition Height="*" />
  42. <RowDefinition Height="Auto" />
  43. <RowDefinition Height="Auto" />
  44. </Grid.RowDefinitions>
  45. <Border Grid.Row="0" Grid.Column="0" BorderBrush="Gray" BorderThickness="0.75,0.75,0.75,0" Background="WhiteSmoke"
  46. CornerRadius="5,5,0,0">
  47. <Label Content="Profiles" HorizontalContentAlignment="Center" FontWeight="Bold" />
  48. </Border>
  49. <ListBox
  50. Grid.Column="0"
  51. Grid.Row="1"
  52. x:Name="Profiles"
  53. BorderThickness="0.75,0.75,0.75,0.75"
  54. BorderBrush="Gray"
  55. HorizontalContentAlignment="Stretch"
  56. Background="White"
  57. SelectionChanged="Profiles_SelectionChanged"
  58. ScrollViewer.HorizontalScrollBarVisibility="Disabled">
  59. <ListBox.ItemTemplate>
  60. <DataTemplate>
  61. <Border BorderBrush="Gray" BorderThickness="0.75" Background="WhiteSmoke" CornerRadius="5"
  62. Margin="-2,1,-2,1" Padding="5" Height="50">
  63. <TextBlock Text="{Binding}" TextAlignment="Center" TextWrapping="Wrap"
  64. VerticalAlignment="Center" />
  65. </Border>
  66. </DataTemplate>
  67. </ListBox.ItemTemplate>
  68. </ListBox>
  69. <Border Grid.Row="2" Grid.Column="0" Background="WhiteSmoke" Height="28" BorderBrush="Gray"
  70. BorderThickness="0.75,0,0.75,0.75" CornerRadius="0,0,5,5" Padding="2">
  71. <DockPanel>
  72. <Border x:Name="AddProfile" DockPanel.Dock="Left" Width="26" BorderThickness="0"
  73. MouseUp="AddProfile_MouseUp" />
  74. <Border x:Name="DeleteProfile" DockPanel.Dock="Right" Width="26" BorderThickness="0"
  75. MouseUp="DeleteProfile_MouseUp" />
  76. <Label DockPanel.Dock="Left" />
  77. </DockPanel>
  78. </Border>
  79. <Grid Grid.Column="1" Grid.Row="0" Grid.RowSpan="3" Margin="5,0,0,0">
  80. <Grid.RowDefinitions>
  81. <RowDefinition Height="Auto" />
  82. <RowDefinition Height="Auto" />
  83. <RowDefinition Height="Auto" />
  84. <RowDefinition Height="Auto" />
  85. <RowDefinition Height="Auto" />
  86. <RowDefinition Height="Auto" />
  87. <RowDefinition Height="Auto" />
  88. <RowDefinition Height="*" />
  89. <RowDefinition Height="Auto" />
  90. </Grid.RowDefinitions>
  91. <Grid.ColumnDefinitions>
  92. <ColumnDefinition Width="35*" />
  93. <ColumnDefinition Width="Auto" />
  94. <ColumnDefinition Width="Auto" />
  95. </Grid.ColumnDefinitions>
  96. <Border Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray" BorderThickness="0.75"
  97. Background="WhiteSmoke" CornerRadius="5,5,0,0">
  98. <Label Content="General" Padding="10,5,5,5" VerticalContentAlignment="Center"
  99. HorizontalContentAlignment="Left" FontWeight="Bold" />
  100. </Border>
  101. <Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray"
  102. BorderThickness="0.75,0,0.75,0.75" Background="WhiteSmoke" CornerRadius="0,0,5,5" Padding="5">
  103. <DockPanel Margin="5,5,5,0">
  104. <Button x:Name="ExportOne" DockPanel.Dock="Right" Content="Export" Padding="10,0"
  105. Click="ExportOne_Click" Margin="5,0,0,0" />
  106. <Button x:Name="CreateLink" DockPanel.Dock="Right" Content="Create Link" Padding="10,0"
  107. Click="CreateLink_Click" Margin="5,0,0,0" />
  108. <CheckBox x:Name="IsActiveCheck" DockPanel.Dock="Right" Content="Active?" VerticalAlignment="Center"
  109. Margin="5,0,5,0" Checked="IsActive_Checked" Unchecked="IsActive_Checked" />
  110. <Label DockPanel.Dock="Left" Content="Name" VerticalContentAlignment="Center" Width="50" />
  111. <TextBox x:Name="ProfileName" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  112. Background="LightYellow" Margin="5,0,5,0" TextChanged="ProfileName_TextChanged" />
  113. </DockPanel>
  114. </Border>
  115. <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray" BorderThickness="0.75"
  116. Background="WhiteSmoke" CornerRadius="5,5,0,0" Margin="0,5,0,0">
  117. <Label Content="Database Settings" Padding="10,5,5,5" VerticalContentAlignment="Center"
  118. HorizontalContentAlignment="Left" FontWeight="Bold" />
  119. </Border>
  120. <Border Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray"
  121. BorderThickness="0.75,0,0.75,0.75" Background="WhiteSmoke" CornerRadius="0,0,5,5" Padding="5">
  122. <Grid>
  123. <Grid.RowDefinitions>
  124. <RowDefinition Height="Auto" x:Name="StandaloneHeader" />
  125. <RowDefinition Height="Auto" x:Name="StandalonePath" />
  126. <RowDefinition Height="Auto" x:Name="NetworkHeader" />
  127. <RowDefinition Height="Auto"/>
  128. <RowDefinition Height="Auto" x:Name="LocalHeader"/>
  129. <RowDefinition Height="Auto" x:Name="LocalSelectionRow"/>
  130. </Grid.RowDefinitions>
  131. <Grid.ColumnDefinitions>
  132. <ColumnDefinition Width="Auto" />
  133. <ColumnDefinition Width="*" />
  134. </Grid.ColumnDefinitions>
  135. <RadioButton x:Name="StandaloneOption" Grid.Row="0" Grid.Column="0"
  136. HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
  137. Checked="Option_Checked" />
  138. <DockPanel Grid.Row="0" Grid.Column="1" Margin="5">
  139. <Label DockPanel.Dock="Left" Content="Standalone" VerticalContentAlignment="Center"
  140. PreviewMouseDown="StandaloneLabel_Click" />
  141. </DockPanel>
  142. <Grid Grid.Row="1" Grid.Column="1" Margin="5,0,5,5">
  143. <Grid.RowDefinitions>
  144. <RowDefinition Height="Auto"/>
  145. <RowDefinition Height="Auto"/>
  146. </Grid.RowDefinitions>
  147. <Grid.ColumnDefinitions>
  148. <ColumnDefinition Width="Auto"/>
  149. <ColumnDefinition Width="*"/>
  150. </Grid.ColumnDefinitions>
  151. <Label Grid.Row="0" Grid.Column="0" Content="Database Location" VerticalContentAlignment="Center" />
  152. <DockPanel Grid.Row="0" Grid.Column="1">
  153. <Button x:Name="DBButton" DockPanel.Dock="Right" Content=".." Width="25" Click="DBButton_Click"
  154. Margin="5,0,0,0"/>
  155. <!-- <ComboBox x:Name="DbProvider" DockPanel.Dock="Right" Visibility="Collapsed" Width="70" -->
  156. <!-- VerticalContentAlignment="Center" SelectedIndex="0" Margin="5,0,0,0" -->
  157. <!-- SelectionChanged="DbProvider_SelectionChanged" IsEnabled="False"> -->
  158. <!-- ~1~<ListBoxItem Content="LiteDb"/>@1@ -->
  159. <!-- ~1~<ListBoxItem Content="MongoDb"/>@1@ -->
  160. <!-- <ListBoxItem Content="SQLite" /> -->
  161. <!-- </ComboBox> -->
  162. <TextBox x:Name="DBLocation" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  163. Background="LightYellow" Margin="5,0,0,0" />
  164. </DockPanel>
  165. <Label x:Name="ColorScheme_Label" Grid.Row="1" Grid.Column="0" Content="Color Scheme" VerticalContentAlignment="Center" />
  166. <DockPanel Grid.Row="1" Grid.Column="1" Margin="0,5,0,0">
  167. <Button x:Name="SplashView" DockPanel.Dock="Right" Content=".." Width="25"
  168. Click="SplashView_Click" Margin="5,0,0,0" />
  169. <Button x:Name="SplashSelect" DockPanel.Dock="Right" Content="Select" Width="100"
  170. Click="SplashSelect_Click" Margin="5,0,0,0" />
  171. <Label DockPanel.Dock="Right" Content="Logo" VerticalContentAlignment="Center" Margin="5,0,0,0" />
  172. <xctk:ColorPicker x:Name="ColorScheme" DockPanel.Dock="Left" Margin="5,0,0,0"
  173. Background="LightYellow"
  174. SelectedColorChanged="ColorScheme_OnSelectedColorChanged" />
  175. </DockPanel>
  176. </Grid>
  177. <RadioButton x:Name="NetworkOption" Grid.Row="2" Grid.Column="0"
  178. HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
  179. Checked="Option_Checked" />
  180. <DockPanel Grid.Row="2" Grid.Column="1" Margin="5,0,5,0">
  181. <Label DockPanel.Dock="Left" Content="Networked" VerticalContentAlignment="Center"
  182. PreviewMouseDown="NetworkLabel_Click" />
  183. </DockPanel>
  184. <DockPanel Grid.Row="3" Grid.Column="1" Margin="5" x:Name="NetworkPath" KeyboardNavigation.TabNavigation="Local">
  185. <Label DockPanel.Dock="Left" VerticalContentAlignment="Center" Content="Server URLs" />
  186. <ComboBox x:Name="Protocol" DockPanel.Dock="Right" Visibility="Visible" SelectedIndex="0"
  187. Width="60" IsEnabled="False" VerticalContentAlignment="Center"
  188. TabIndex="0" Margin="5,0,0,0"
  189. SelectionChanged="Protocol_SelectionChanged">
  190. <ComboBoxItem Content="Rest" />
  191. <ComboBoxItem Content="Rpc" />
  192. </ComboBox>
  193. <Label DockPanel.Dock="Right" Content="Protocol" VerticalContentAlignment="Center"
  194. Visibility="Collapsed" />
  195. <!-- <TextBox x:Name="ServerPort" DockPanel.Dock="Right" Width="50" -->
  196. <!-- VerticalContentAlignment="Center" Background="LightYellow" -->
  197. <!-- TextChanged="ServerPort_TextChanged" TextAlignment="Center" -->
  198. <!-- TabIndex="2"/> -->
  199. <!-- <Label DockPanel.Dock="Right" VerticalContentAlignment="Center" Content="Port" /> -->
  200. <TextBox x:Name="ServerURLs" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  201. Background="LightYellow" Margin="5,0,0,0" TextChanged="ServerURL_TextChanged"
  202. TabIndex="1"
  203. ToolTip="List of Server URLs to connect to.\n Each URL should be in the format of 'url:port' (eg demo.prsdigital.com.au:8003).\nSeparate multiple entries with semi-colons."/>
  204. </DockPanel>
  205. <RadioButton x:Name="LocalOption" Grid.Row="4" Grid.Column="0"
  206. HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
  207. Checked="Option_Checked" />
  208. <DockPanel Grid.Row="4" Grid.Column="1" Margin="5">
  209. <Label DockPanel.Dock="Left" Content="Local" VerticalContentAlignment="Center"
  210. PreviewMouseDown="LocalLabel_Click"/>
  211. </DockPanel>
  212. <DockPanel Grid.Row="5" Grid.Column="1" Margin="5,0,5,5" x:Name="LocalPath">
  213. <Label DockPanel.Dock="Left" VerticalContentAlignment="Center" Content="Server Name"/>
  214. <ComboBox x:Name="LocalServerName" DockPanel.Dock="Right"
  215. VerticalContentAlignment="Center"
  216. SelectionChanged="LocalServerName_SelectionChanged"/>
  217. </DockPanel>
  218. </Grid>
  219. </Border>
  220. <Border Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray" BorderThickness="0.75"
  221. Background="WhiteSmoke" CornerRadius="5,10,0,0" Margin="0,5,0,0">
  222. <Label Content="User Settings" Padding="5" VerticalContentAlignment="Center"
  223. HorizontalContentAlignment="Left" FontWeight="Bold" />
  224. </Border>
  225. <Border Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray"
  226. BorderThickness="0.75,0,0.75,0.75" Background="WhiteSmoke" CornerRadius="0,0,5,5" Padding="5">
  227. <DockPanel Margin="5" KeyboardNavigation.TabNavigation="Local">
  228. <Label Content="Login Type" DockPanel.Dock="Left" VerticalContentAlignment="Center" />
  229. <ComboBox x:Name="LoginType" DockPanel.Dock="Left" VerticalContentAlignment="Center" Width="100"
  230. Margin="5,0,0,0" SelectionChanged="LoginType_SelectionChanged"
  231. TabIndex="0">
  232. <ComboBoxItem Content="Network ID" />
  233. <ComboBoxItem Content="PIN Number" />
  234. <ComboBoxItem Content="User ID" />
  235. </ComboBox>
  236. <Label DockPanel.Dock="Left" Margin="5,0,0,0" Content="User ID" />
  237. <CheckBox x:Name="AutoLogin" DockPanel.Dock="Right" Margin="5,0,0,0" Content="Auto"
  238. VerticalContentAlignment="Center" Checked="AutoLogin_Checked"
  239. Unchecked="AutoLogin_Checked"
  240. TabIndex="3"/>
  241. <PasswordBox x:Name="Password" DockPanel.Dock="Right" Margin="5,0,0,0" Width="80"
  242. Background="LightYellow" VerticalContentAlignment="Center" KeyUp="Password_KeyUp"
  243. TabIndex="2"/>
  244. <Label DockPanel.Dock="Right" Content="Password" VerticalContentAlignment="Center" Margin="5,0,0,0" />
  245. <TextBox x:Name="UserID" DockPanel.Dock="Left" Margin="5,0,0,0" Background="LightYellow"
  246. VerticalContentAlignment="Center" TextChanged="UserID_TextChanged"
  247. TabIndex="1"/>
  248. </DockPanel>
  249. </Border>
  250. <Border Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray" BorderThickness="0.75"
  251. Background="WhiteSmoke" CornerRadius="5,10,0,0" Margin="0,5,0,0">
  252. <Label Content="External File Locations" Padding="5" VerticalContentAlignment="Center"
  253. HorizontalContentAlignment="Left" FontWeight="Bold" />
  254. </Border>
  255. <Border Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray"
  256. BorderThickness="0.75,0,0.75,0.75" Background="WhiteSmoke" CornerRadius="0,0,5,5" Padding="5">
  257. <Grid Margin="5">
  258. <Grid.RowDefinitions>
  259. <!--<RowDefinition Height="Auto"/>
  260. <RowDefinition Height="10"/>-->
  261. <RowDefinition Height="Auto" />
  262. <RowDefinition Height="10" />
  263. <RowDefinition Height="Auto" />
  264. <RowDefinition Height="10" x:Name="JobPrefixHeader" />
  265. <RowDefinition Height="Auto" x:Name="JobPrefixContent" />
  266. <RowDefinition Height="10" x:Name="POPrefixHeader" />
  267. <RowDefinition Height="Auto" x:Name="POPrefixContent" />
  268. </Grid.RowDefinitions>
  269. <Grid.ColumnDefinitions>
  270. <ColumnDefinition Width="Auto" />
  271. <ColumnDefinition Width="*" />
  272. <ColumnDefinition Width="Auto" />
  273. </Grid.ColumnDefinitions>
  274. <!--<Label Content="Auto Update" Grid.Row="0" Grid.Column="0" VerticalContentAlignment="Center"/>
  275. <DockPanel Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" >
  276. <ComboBox x:Name="UpdateType" DockPanel.Dock="Left" VerticalContentAlignment="Center" Width="50" Margin="5,0,0,0" SelectionChanged="UpdateType_SelectionChanged" >
  277. <ComboBoxItem Content="Url"/>
  278. <ComboBoxItem Content="File"/>
  279. </ComboBox>
  280. <ComboBox x:Name="UpdateAdmin" DockPanel.Dock="Right" VerticalContentAlignment="Center" Width="70" Margin="5,0,0,0" SelectionChanged="UpdateAdmin_SelectionChanged" ToolTip="Installer Security Privileges" >
  281. <ComboBoxItem Content="Admin"/>
  282. <ComboBoxItem Content="Normal"/>
  283. </ComboBox>
  284. <ComboBox x:Name="UpdateChannel" DockPanel.Dock="Right" VerticalContentAlignment="Center" Width="90" Margin="5,0,0,0" SelectionChanged="UpdateChannel_SelectionChanged" ToolTip="Select Update Cycle" >
  285. <ComboBoxItem Content="Stable"/>
  286. <ComboBoxItem Content="Pre Release"/>
  287. </ComboBox>
  288. <Button x:Name="UpdateButton" DockPanel.Dock="Right" Content=".." Width="25" Click="UpdateButton_Click" Margin="5,0,0,0"/>
  289. <TextBox x:Name="UpdateLocation" DockPanel.Dock="Left" Margin="5,0,0,0" Background="LightYellow" VerticalContentAlignment="Center" TextChanged="UpdateLocation_TextChanged" />
  290. </DockPanel>-->
  291. <Label Content="Technical Library" Grid.Row="0" Grid.Column="0" VerticalContentAlignment="Center" />
  292. <TextBox x:Name="LibraryLocation" Grid.Row="0" Grid.Column="1" VerticalContentAlignment="Center"
  293. Margin="5,0,0,0" Background="LightYellow" TextChanged="LibraryLocation_TextChanged" />
  294. <Button x:Name="LibraryButton" Grid.Row="0" Grid.Column="2" Content=".." Width="25"
  295. Click="LibraryButton_Click" Margin="5,0,0,0" />
  296. <Label Content="Google API Key" Grid.Row="2" Grid.Column="0" VerticalContentAlignment="Center" />
  297. <TextBox x:Name="GoogleAPIKey" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2"
  298. VerticalContentAlignment="Center" Margin="5,0,0,0" Background="LightYellow"
  299. TextChanged="GoogleAPIKey_TextChanged" />
  300. <Label Content="Job Prefix" Grid.Row="4" Grid.Column="0" VerticalContentAlignment="Center" />
  301. <TextBox x:Name="JobPrefix" Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2"
  302. HorizontalAlignment="Left" Width="150" VerticalContentAlignment="Center" Margin="5,0,0,0"
  303. Background="LightYellow" TextChanged="JobPrefix_TextChanged" CharacterCasing="Upper" />
  304. <Label Content="P/O Prefix" Grid.Row="6" Grid.Column="0" VerticalContentAlignment="Center" />
  305. <TextBox x:Name="PurchaseorderPrefix" Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2"
  306. HorizontalAlignment="Left" Width="150" VerticalContentAlignment="Center" Margin="5,0,0,0"
  307. Background="LightYellow" TextChanged="PurchaseOrderPrefix_TextChanged"
  308. CharacterCasing="Upper" />
  309. </Grid>
  310. </Border>
  311. </Grid>
  312. <DockPanel Grid.Row="3" Grid.ColumnSpan="2">
  313. <Button x:Name="Help" DockPanel.Dock="Left" Content="" Width="35" Height="35"
  314. Padding="5" Click="ShowHelp_OnClick" Margin="0,5,0,0" />
  315. <Button x:Name="AutoDiscover" DockPanel.Dock="Left" Content="Discover" Width="60" Height="35"
  316. Padding="5" Click="AutoDiscover_Click" Margin="5,5,0,0" />
  317. <Button x:Name="AutoUpdate" DockPanel.Dock="Left" Width="35" Height="35" Click="AutoUpdate_Click"
  318. Margin="5,5,0,0" ToolTip="Auto Update Settings" />
  319. <Button x:Name="ExportSettings" DockPanel.Dock="Left" Width="35" Height="35" Padding="5"
  320. Click="Export_Click" Margin="5,5,0,0" ToolTip="Export Settings to File" />
  321. <Button x:Name="ImportSettings" DockPanel.Dock="Left" Width="35" Height="35" Padding="5"
  322. Click="Import_Click" Margin="5,5,0,0" ToolTip="Load Settings from File" />
  323. <Button x:Name="CancelButton" DockPanel.Dock="Right" Content="Cancel" Height="35" Width="80"
  324. Click="CancelButton_Click" Margin="5,5,0,0" />
  325. <Button x:Name="OKButton" DockPanel.Dock="Right" Content="OK" Height="35" Width="80" Click="OKButton_Click"
  326. Margin="5,5,0,0" />
  327. <Label DockPanel.Dock="Left" />
  328. </DockPanel>
  329. </Grid>
  330. </wpf:ThemableWindow>