MainWindow.xaml 80 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243
  1. <fluent:RibbonWindow x:Class="PRSDesktop.MainWindow"
  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:local="clr-namespace:PRSDesktop"
  7. mc:Ignorable="d"
  8. xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
  9. xmlns:themes="clr-namespace:InABox.WPF.Themes;assembly=InABox.Wpf"
  10. xmlns:fluent="urn:fluent-ribbon"
  11. Title="PRS Desktop"
  12. Height="900" Width="1200" Left="100" Top="100"
  13. WindowStartupLocation="CenterScreen"
  14. WindowState="Maximized"
  15. HorizontalContentAlignment="Stretch"
  16. VerticalContentAlignment="Stretch"
  17. Loaded="Window_Loaded"
  18. Unloaded="Window_Unloaded"
  19. Closing="Window_Closing"
  20. Closed="RibbonWindow_Closed"
  21. PreviewMouseUp="RibbonWindow_PreviewMouseUp"
  22. PreviewKeyUp="RibbonWindow_PreviewKeyUp"
  23. Activated="RibbonWindow_Activated"
  24. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  25. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  26. TitleBackground="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  27. TitleForeground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  28. GlowBrush="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  29. NonActiveGlowBrush="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  30. NonActiveBorderBrush="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}">
  31. <fluent:RibbonWindow.Resources>
  32. <!-- <ResourceDictionary> -->
  33. <SolidColorBrush x:Key="Fluent.Ribbon.Brushes.Backstage.BackButton.Background"
  34. Color="{Binding Path=(themes:ThemeManager.BackstageBackgroundColor)}" />
  35. <SolidColorBrush x:Key="Fluent.Ribbon.Brushes.Backstage.BackButton.Foreground"
  36. Color="{Binding Path=(themes:ThemeManager.BackstageForegroundColor)}" />
  37. <ControlTemplate x:Key="VerticalSplitter">
  38. <Grid Background="{TemplateBinding Background}" Width="4">
  39. <Button x:Name="PART_Left" Visibility="Collapsed" />
  40. <Button x:Name="PART_Right" Visibility="Collapsed" />
  41. <StackPanel Margin="0" Orientation="Vertical" VerticalAlignment="Center"
  42. HorizontalAlignment="Center">
  43. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  44. Margin="0,2,0,0" />
  45. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  46. Margin="0,2,0,0" />
  47. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  48. Margin="0,2,0,0" />
  49. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  50. Margin="0,2,0,0" />
  51. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  52. Margin="0,2,0,0" />
  53. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  54. Margin="0,2,0,0" />
  55. <Ellipse Fill="Silver" HorizontalAlignment="Center" Height="2" Width="2" Opacity="1"
  56. Margin="0,2,0,0" />
  57. </StackPanel>
  58. </Grid>
  59. </ControlTemplate>
  60. <!-- </ResourceDictionary> -->
  61. </fluent:RibbonWindow.Resources>
  62. <Grid x:Name="_mainScreen">
  63. <Grid.ColumnDefinitions>
  64. <ColumnDefinition Width="*" />
  65. <ColumnDefinition Width="Auto" />
  66. </Grid.ColumnDefinitions>
  67. <Grid.RowDefinitions>
  68. <RowDefinition x:Name="_ribbonRow" Height="Auto" />
  69. <RowDefinition Height="*" />
  70. <RowDefinition Height="Auto" />
  71. </Grid.RowDefinitions>
  72. <fluent:Ribbon x:Name="_ribbon" Grid.Row="0" Grid.ColumnSpan="2" IsCollapsed="False"
  73. PreviewMouseDoubleClick="_ribbon_OnPreviewMouseDoubleClick"
  74. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  75. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
  76. Loaded="_ribbon_OnLoaded"
  77. >
  78. <fluent:Ribbon.Menu>
  79. <fluent:Backstage Header="System"
  80. Background="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  81. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}">
  82. <fluent:BackstageTabControl
  83. x:Name="_backstage"
  84. ItemsPanelBackground="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}"
  85. Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
  86. Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}">
  87. <fluent:SeparatorTabItem x:Name="BackstageSeparator" Height="20" />
  88. <fluent:Button
  89. x:Name="DatabaseSettings"
  90. Header="Database Settings"
  91. Click="DatabaseSettings_OnClick"
  92. Size="Middle"
  93. HorizontalAlignment="Stretch"
  94. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  95. <fluent:SeparatorTabItem x:Name="BackstageSeparator0" Height="20" />
  96. <fluent:Button
  97. x:Name="CompanyInformation"
  98. Header="Company Information"
  99. Click="CompanyInformation_OnClick"
  100. Size="Middle"
  101. HorizontalAlignment="Stretch"
  102. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  103. <fluent:SeparatorTabItem x:Name="BackstageSeparator1" Height="20" />
  104. <fluent:Button
  105. x:Name="SecurityDefaultsButton"
  106. Header="Security Defaults"
  107. Click="SecurityDefaultsButton_OnClick"
  108. Size="Middle"
  109. HorizontalAlignment="Stretch"
  110. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  111. <fluent:SeparatorTabItem x:Name="BackstageSeparator1a" Height="20" />
  112. <fluent:Button
  113. x:Name="SystemLogsButton"
  114. Header="View System Logs"
  115. Click="SystemLogsButton_OnClick"
  116. Size="Middle"
  117. HorizontalAlignment="Stretch"
  118. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  119. <fluent:SeparatorTabItem x:Name="BackstageSeparator2" Height="20" />
  120. <fluent:Button
  121. x:Name="DocumentTypeList"
  122. Header="Document Types"
  123. Click="DocumentTypeList_OnClick"
  124. Size="Middle"
  125. HorizontalAlignment="Stretch"
  126. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  127. <fluent:Button
  128. x:Name="DocumentList"
  129. Header="Document List"
  130. Click="DocumentList_OnClick"
  131. Size="Middle"
  132. HorizontalAlignment="Stretch"
  133. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  134. <fluent:Button
  135. x:Name="QAFormSetupButton"
  136. Header="Digital Forms"
  137. Click="QAFormSetupButton_OnClick"
  138. Size="Middle"
  139. HorizontalAlignment="Stretch"
  140. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  141. <fluent:Button
  142. x:Name="TaskTypesButton"
  143. Header="Task Types"
  144. Click="TaskTypesButton_OnClick"
  145. Size="Middle"
  146. HorizontalAlignment="Stretch"
  147. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  148. <fluent:SeparatorTabItem x:Name="BackstageSeparator5" Height="20" />
  149. <fluent:Button
  150. x:Name="EditDetailsButton"
  151. VerticalAlignment="Bottom"
  152. Header="My Details"
  153. Click="EditDetailsButton_OnClick"
  154. Size="Middle"
  155. HorizontalAlignment="Stretch"
  156. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  157. <fluent:Button
  158. x:Name="LogoutButton"
  159. VerticalAlignment="Bottom"
  160. Header="Log Out"
  161. Click="LogoutButton_OnClick"
  162. Size="Middle"
  163. HorizontalAlignment="Stretch"
  164. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  165. <fluent:Button
  166. x:Name="LoginButton"
  167. VerticalAlignment="Bottom"
  168. Header="Log In"
  169. Click="LoginButton_OnClick"
  170. Size="Middle"
  171. HorizontalAlignment="Stretch"
  172. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  173. <fluent:SeparatorTabItem Height="20" />
  174. <fluent:Button
  175. x:Name="ExitButton"
  176. VerticalAlignment="Bottom"
  177. Header="Exit"
  178. Click="ExitButton_OnClick"
  179. Size="Middle"
  180. HorizontalAlignment="Stretch"
  181. Foreground="{Binding Path=(themes:ThemeManager.BackstageForegroundBrush)}" />
  182. </fluent:BackstageTabControl>
  183. </fluent:Backstage>
  184. </fluent:Ribbon.Menu>
  185. <fluent:RibbonTabItem x:Name="QuotesTab" Header="Quotes" IsSelected="False" Visibility="Collapsed">
  186. <fluent:RibbonGroupBox x:Name="QuotesActions" Header="Actions" LauncherClick="ManageModulesClick"
  187. IsLauncherVisible="False">
  188. <fluent:Button Header="Refresh" LargeIcon="pack://application:,,,/Resources/refresh.png"
  189. Click="RefreshMenu_Click" />
  190. <syncfusion:RibbonSeparator />
  191. <fluent:Button x:Name="QuotesDashboardButton" Header="Dashboards"
  192. LargeIcon="pack://application:,,,/Resources/kpi.png" Click="Dashboards_Checked"
  193. MinWidth="60" />
  194. <fluent:Button x:Name="QuotesMessagesButton" Header="Notification Centre"
  195. LargeIcon="pack://application:,,,/Resources/email.png"
  196. Click="Messages_Checked" MinWidth="60" />
  197. <fluent:Button x:Name="QuotesTaskButton" Header="Task List"
  198. LargeIcon="pack://application:,,,/Resources/kanban.png"
  199. Click="Tasks_Checked" MinWidth="60" />
  200. <fluent:Button x:Name="QuotesAttendanceButton" Header="In/Out Board"
  201. LargeIcon="pack://application:,,,/Resources/attendance.png"
  202. Click="Attendance_Checked" MinWidth="60" />
  203. <fluent:Button x:Name="QuotesMapButton" Header="Live Maps"
  204. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  205. MinWidth="60" />
  206. <fluent:Button x:Name="QuotesDailyReportButton" Header="Daily Report"
  207. LargeIcon="pack://application:,,,/Resources/report.png"
  208. Click="DailyReport_Checked" MinWidth="60" />
  209. <syncfusion:RibbonSeparator x:Name="QuotesTaskSeparator" />
  210. <fluent:Button x:Name="QuotesButton" Header="Quotes"
  211. LargeIcon="pack://application:,,,/Resources/quotation.png"
  212. Click="Quotes_Checked" MinWidth="60" />
  213. <syncfusion:RibbonSeparator x:Name="QuotesActionSeparator" />
  214. <fluent:Button x:Name="KitsMasterList" Header="Product Kits"
  215. LargeIcon="pack://application:,,,/Resources/kit.png"
  216. Click="KitsMasterList_Click" MinWidth="60" />
  217. <fluent:Button x:Name="CostSheetsMasterList" Header="Cost Sheets"
  218. LargeIcon="pack://application:,,,/Resources/costsheet.png"
  219. Click="CostSheetsMasterList_Click" MinWidth="60" />
  220. </fluent:RibbonGroupBox>
  221. <fluent:RibbonGroupBox x:Name="QuoteReports" Width="Auto" MinWidth="60" Header="Print"
  222. LauncherClick="ManageReportsMenu_Click" IsLauncherVisible="False"
  223. Visibility="Collapsed"/>
  224. <!--fluent:RibbonGroupBox x:Name="QuotesSetup" Width="Auto" Header="Tools" IsLauncherVisible="False">
  225. <fluent:Button x:Name="QuoteStatusButton" Header="Status Codes"
  226. LargeIcon="pack://application:,,,/Resources/quotestatus.png"
  227. Click="QuoteStatusButton_Click" MinWidth="60" />
  228. <fluent:Button x:Name="QuoteDesignSectionButton" Header="Design Sections"
  229. LargeIcon="pack://application:,,,/Resources/design.png"
  230. Click="QuoteDesignSectionButton_Click" MinWidth="60" />
  231. <syncfusion:RibbonSeparator x:Name="QuotesSetupSeparator" />
  232. <fluent:Button x:Name="KitConditionList" Header="Kit Conditions"
  233. LargeIcon="pack://application:,,,/Resources/kitcondition.png"
  234. Click="KitConditionList_Click" MinWidth="60" />
  235. <fluent:Button x:Name="KitFormulaeList" Header="Kit Formulae"
  236. LargeIcon="pack://application:,,,/Resources/kitformula.png"
  237. Click="KitFormulaeList_Click" MinWidth="60" />
  238. <fluent:Button x:Name="CostSheetTypeList" Header="Cost Sheet Types"
  239. LargeIcon="pack://application:,,,/Resources/costsheettype.png"
  240. Click="CostSheetTypeList_Click" MinWidth="60" />
  241. <fluent:Button x:Name="CostSheetBrandList" Header="Cost Sheet Brands"
  242. LargeIcon="pack://application:,,,/Resources/costsheetbrand.png"
  243. Click="CostSheetBrandList_Click" MinWidth="60" />
  244. <fluent:Button x:Name="CostSheetSectionList" Header="Cost Sheet Sections"
  245. LargeIcon="pack://application:,,,/Resources/costsheetsection.png"
  246. Click="CostSheetSectionList_Click" MinWidth="60" />
  247. <syncfusion:RibbonSeparator x:Name="QuotesSetupSeparator2" />
  248. <fluent:Button x:Name="QuoteDiagramSymbols" Header="Symbols"
  249. LargeIcon="pack://application:,,,/Resources/pencil.png"
  250. Click="QuoteDiagramSymbols_Checked" MinWidth="60" />
  251. <fluent:Button x:Name="QuoteDiagramSymbolTypes" Header="Symbol Types"
  252. LargeIcon="pack://application:,,,/Resources/attachment.png"
  253. Click="QuoteDiagramSymbolTypes_Checked" MinWidth="60" />
  254. <fluent:Button x:Name="QuoteTakeOffUnits" Header="Dimension Types"
  255. LargeIcon="pack://application:,,,/Resources/box.png"
  256. Click="QuoteTakeOffUnits_Click" MinWidth="60" />
  257. </fluent:RibbonGroupBox-->
  258. </fluent:RibbonTabItem>
  259. <fluent:RibbonTabItem x:Name="ProjectsTab" Header="Projects" IsSelected="False" Visibility="Collapsed">
  260. <fluent:RibbonGroupBox x:Name="ProjectsActions" Header="Actions" LauncherClick="ManageModulesClick"
  261. IsLauncherVisible="False">
  262. <fluent:Button Header="Refresh"
  263. LargeIcon="pack://application:,,,/Resources/refresh.png"
  264. Click="RefreshMenu_Click" MinWidth="60" />
  265. <syncfusion:RibbonSeparator />
  266. <fluent:Button x:Name="ProjectsDashboardButton" Header="Dashboards"
  267. LargeIcon="pack://application:,,,/Resources/kpi.png"
  268. Click="Dashboards_Checked" MinWidth="60" />
  269. <fluent:Button x:Name="ProjectMessagesButton" Size="Large"
  270. Header="Notification Centre"
  271. LargeIcon="pack://application:,,,/Resources/email.png"
  272. Click="Messages_Checked" MinWidth="60" />
  273. <fluent:Button x:Name="ProjectTaskButton" Header="Task List"
  274. LargeIcon="pack://application:,,,/Resources/kanban.png"
  275. Click="Tasks_Checked" MinWidth="60" />
  276. <fluent:Button x:Name="ProjectAttendanceButton" Header="In/Out Board"
  277. LargeIcon="pack://application:,,,/Resources/attendance.png"
  278. Click="Attendance_Checked" MinWidth="60" />
  279. <fluent:Button x:Name="ProjectsMapButton" Header="Live Maps"
  280. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  281. MinWidth="60" />
  282. <fluent:Button x:Name="ProjectDailyReportButton" Header="Daily Report"
  283. LargeIcon="pack://application:,,,/Resources/report.png"
  284. Click="DailyReport_Checked" MinWidth="60" />
  285. <syncfusion:RibbonSeparator x:Name="ProjectTaskSeparator" />
  286. <fluent:Button x:Name="ProjectsButton" Header="Projects"
  287. LargeIcon="pack://application:,,,/Resources/project.png"
  288. Click="Jobs_Checked" MinWidth="60" />
  289. <fluent:Button x:Name="ProjectPlannerButton" Header="Project Planner"
  290. LargeIcon="pack://application:,,,/Resources/calendar.png"
  291. Click="ProjectPlanner_Checked" MinWidth="60" />
  292. <fluent:Button x:Name="ServiceButton" Header="Service"
  293. LargeIcon="pack://application:,,,/Resources/service.png"
  294. Click="Service_Checked" MinWidth="60" />
  295. </fluent:RibbonGroupBox>
  296. <fluent:RibbonGroupBox x:Name="ProjectReports" Width="Auto" MinWidth="60" Header="Print"
  297. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  298. IsLauncherVisible="False" />
  299. <!--fluent:RibbonGroupBox x:Name="ProjectSetup" Width="Auto" Header="Tools"
  300. IsLauncherVisible="False">
  301. <fluent:Button x:Name="JobStatusButton" Header="Job Statuses"
  302. LargeIcon="pack://application:,,,/Resources/view.png"
  303. Click="JobStatusButton_Click" MinWidth="60" />
  304. <fluent:Button x:Name="JobDocumentMileStoneButton" Size="Large"
  305. Header="Document MileStones"
  306. LargeIcon="pack://application:,,,/Resources/revision.png"
  307. Click="JobDocumentMileStoneButton_OnClick" MinWidth="60" />
  308. <fluent:Button x:Name="FinancialStatusButton" Header="Financial Statuses"
  309. LargeIcon="pack://application:,,,/Resources/view.png"
  310. Click="FinancialStatusButton_Click" MinWidth="60" />
  311. <fluent:Button x:Name="DrawingTemplatesButton" Header="Drawing Templates"
  312. LargeIcon="pack://application:,,,/Resources/doc-misc.png"
  313. Click="DrawingTemplatesButton_Click" MinWidth="60" />
  314. </fluent:RibbonGroupBox-->
  315. </fluent:RibbonTabItem>
  316. <fluent:RibbonTabItem x:Name="ManufacturingTab" Header="Manufacturing" IsSelected="False"
  317. Visibility="Collapsed">
  318. <fluent:RibbonGroupBox x:Name="ManufacturingActions" Header="Actions"
  319. LauncherClick="ManageModulesClick"
  320. IsLauncherVisible="False">
  321. <fluent:Button Header="Refresh"
  322. LargeIcon="pack://application:,,,/Resources/refresh.png"
  323. Click="RefreshMenu_Click" MinWidth="60"/>
  324. <syncfusion:RibbonSeparator />
  325. <fluent:Button x:Name="ManufacturingDashboardButton" Header="Dashboards"
  326. LargeIcon="pack://application:,,,/Resources/kpi.png"
  327. Click="Dashboards_Checked" MinWidth="60" />
  328. <fluent:Button x:Name="ManufacturingMessagesButton" Size="Large"
  329. Header="Notification Centre"
  330. LargeIcon="pack://application:,,,/Resources/email.png"
  331. Click="Messages_Checked" MinWidth="60" />
  332. <fluent:Button x:Name="ManufacturingTaskButton" Header="Task List"
  333. LargeIcon="pack://application:,,,/Resources/kanban.png"
  334. Click="Tasks_Checked" MinWidth="60" />
  335. <fluent:Button x:Name="ManufacturingAttendanceButton" Size="Large"
  336. Header="In/Out Board"
  337. LargeIcon="pack://application:,,,/Resources/attendance.png"
  338. Click="Attendance_Checked" MinWidth="60" />
  339. <fluent:Button x:Name="ManufacturingMapButton" Header="Live Maps"
  340. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  341. MinWidth="60" />
  342. <fluent:Button x:Name="ManufacturingDailyReportButton" Size="Large"
  343. Header="Daily Report"
  344. LargeIcon="pack://application:,,,/Resources/report.png"
  345. Click="DailyReport_Checked" MinWidth="60" />
  346. <syncfusion:RibbonSeparator x:Name="ManufacturingTaskSeparator" />
  347. <fluent:Button x:Name="FactoryStatusButton" Header="Manufacturing Status"
  348. LargeIcon="pack://application:,,,/Resources/factory.png"
  349. Click="ManufacturingMenu_Checked" MinWidth="60" />
  350. <fluent:Button x:Name="FactoryAllocationButton" Size="Large"
  351. Header="Factory Allocation"
  352. LargeIcon="pack://application:,,,/Resources/assignments.png"
  353. Click="FactoryAllocationButton_Click" MinWidth="60" />
  354. <!--<fluent:Button x:Name="FactoryScheduleButton" Header="Factory Schedule" LargeIcon="pack://application:,,,/Resources/clock.png" Click="Schedule_Checked" MinWidth="60"/>-->
  355. <fluent:Button x:Name="FactoryFloorButton" Header="Factory Floor"
  356. LargeIcon="pack://application:,,,/Resources/wrench.png"
  357. Click="FactoryFloorButton_Click" MinWidth="60" />
  358. <!--<fluent:Button x:Name="FactoryReadyButton" Header="Ready To Go" LargeIcon="pack://application:,,,/Resources/truck.png" Click="FactoryReadyButton_Click" MinWidth="60"/>-->
  359. </fluent:RibbonGroupBox>
  360. <fluent:RibbonGroupBox x:Name="ManufacturingReports" Width="Auto" MinWidth="60" Header="Print"
  361. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  362. IsLauncherVisible="False" />
  363. <!--fluent:RibbonGroupBox x:Name="ManufacturingSetup" Width="Auto" Header="Tools"
  364. IsLauncherVisible="False">
  365. <fluent:Button x:Name="FactorySettingsButton" Header="Factory Settings"
  366. LargeIcon="pack://application:,,,/Resources/factorysetup.png"
  367. Click="FactorySetup_Click" MinWidth="60" />
  368. <fluent:Button x:Name="ManufacturingTemplatesButton" Size="Large"
  369. Header="Manufacturing Templates"
  370. LargeIcon="pack://application:,,,/Resources/template.png"
  371. Click="TemplateSetup_Click" MinWidth="60" />
  372. <fluent:Button x:Name="ManufacturingTrolleysButton" Size="Large"
  373. Header="Manufacturing Trolleys"
  374. LargeIcon="pack://application:,,,/Resources/trolley.png"
  375. Click="TrolleySetup_Click" MinWidth="60" />
  376. <fluent:Button x:Name="ManufacturingLostTimeButton" Size="Large"
  377. Header="Lost Time Types"
  378. LargeIcon="pack://application:,,,/Resources/smiley.png"
  379. Click="LostTimeSetup_Click" MinWidth="60" />
  380. <! - - <fluent:Button x:Name="ManufacturingTransferButton" Header="Transfer Settings" LargeIcon="pack://application:,,,/Resources/warning.png" Click="ManufacturingTransferButton_Click" MinWidth="60"/>
  381. <fluent:Button x:Name="RebuildPacketsButton" Header="Rebuild Packets" LargeIcon="pack://application:,,,/Resources/warning.png" Click="RebuildPacketsButton_Click" MinWidth="60"/> - - >
  382. </fluent:RibbonGroupBox-->
  383. </fluent:RibbonTabItem>
  384. <fluent:RibbonTabItem x:Name="LogisticsTab" Header="Logistics" IsSelected="False" Visibility="Collapsed">
  385. <fluent:RibbonGroupBox x:Name="LogisticsActions" Header="Actions" LauncherClick="ManageModulesClick"
  386. IsLauncherVisible="False">
  387. <fluent:Button Header="Refresh"
  388. LargeIcon="pack://application:,,,/Resources/refresh.png"
  389. Click="RefreshMenu_Click" MinWidth="60" />
  390. <syncfusion:RibbonSeparator />
  391. <fluent:Button x:Name="LogisticsDashboardButton" Header="Dashboards"
  392. LargeIcon="pack://application:,,,/Resources/kpi.png"
  393. Click="Dashboards_Checked" MinWidth="60" />
  394. <fluent:Button x:Name="LogisticsMessagesButton" Size="Large"
  395. Header="Notification Centre"
  396. LargeIcon="pack://application:,,,/Resources/email.png"
  397. Click="Messages_Checked" MinWidth="60" />
  398. <fluent:Button x:Name="LogisticsTaskButton" Header="Task List"
  399. LargeIcon="pack://application:,,,/Resources/kanban.png"
  400. Click="Tasks_Checked" MinWidth="60" />
  401. <fluent:Button x:Name="LogisticsAttendanceButton" Header="In/Out Board"
  402. LargeIcon="pack://application:,,,/Resources/attendance.png"
  403. Click="Attendance_Checked" MinWidth="60" />
  404. <fluent:Button x:Name="LogisticsMapButton" Header="Live Maps"
  405. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  406. MinWidth="60" />
  407. <fluent:Button x:Name="LogisticsDailyReportButton" Header="Daily Report"
  408. LargeIcon="pack://application:,,,/Resources/report.png"
  409. Click="DailyReport_Checked" MinWidth="60" />
  410. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator1" />
  411. <fluent:Button x:Name="ReadyToGoItemsButton" Header="Ready To Go"
  412. LargeIcon="pack://application:,,,/Resources/truck.png"
  413. Click="ReadyToGoMenu_Checked" MinWidth="60" />
  414. <fluent:Button x:Name="DispatchButton" Header="Rack List"
  415. LargeIcon="pack://application:,,,/Resources/barcode.png"
  416. Click="DispatchMenu_Checked" MinWidth="60" />
  417. <fluent:Button x:Name="RequisitionsButton" Header="Site Requisitions"
  418. LargeIcon="pack://application:,,,/Resources/box.png"
  419. Click="Requisitions_Checked" MinWidth="60" />
  420. <fluent:Button x:Name="DeliveriesButton" Header="Deliveries"
  421. LargeIcon="pack://application:,,,/Resources/truck.png"
  422. Click="DeliveriesButton_Click" MinWidth="60" />
  423. <fluent:Button x:Name="DeliveredItemsButton" Header="Delivered On Site"
  424. LargeIcon="pack://application:,,,/Resources/lifter.png"
  425. Click="DeliveredOnSiteMenu_Checked" MinWidth="60" />
  426. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator2" />
  427. <fluent:Button x:Name="ConsignmentButton" Header="Incoming Consignments"
  428. LargeIcon="pack://application:,,,/Resources/consignment.png"
  429. Click="ConsignmentButton_Click" MinWidth="60" />
  430. </fluent:RibbonGroupBox>
  431. <fluent:RibbonGroupBox x:Name="LogisticsReports" Width="Auto" MinWidth="60" Header="Print"
  432. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  433. IsLauncherVisible="False" />
  434. <!--fluent:RibbonGroupBox x:Name="LogisticsSetup" Width="Auto" Header="Tools"
  435. IsLauncherVisible="False">
  436. <fluent:Button x:Name="DeliveryTypesButton" Header="Delivery Types"
  437. LargeIcon="pack://application:,,,/Resources/truck.png"
  438. Click="DeliveryTypesButton_Click" MinWidth="60" />
  439. <fluent:Button x:Name="ConsignmentTypesButton" Header="Consignment Types"
  440. LargeIcon="pack://application:,,,/Resources/service.png"
  441. Click="ConsignmentTypesButton_Click" MinWidth="60" />
  442. </fluent:RibbonGroupBox-->
  443. </fluent:RibbonTabItem>
  444. <fluent:RibbonTabItem x:Name="ProductTab" Header="Product Management" IsSelected="False"
  445. Visibility="Collapsed">
  446. <fluent:RibbonGroupBox x:Name="ProductActions" Width="Auto" Header="Actions"
  447. LauncherClick="ManageModulesClick" IsLauncherVisible="False">
  448. <fluent:Button Header="Refresh"
  449. LargeIcon="pack://application:,,,/Resources/refresh.png"
  450. Click="RefreshMenu_Click" MinWidth="60" />
  451. <syncfusion:RibbonSeparator />
  452. <fluent:Button x:Name="ProductsDashboardButton" Header="Dashboards"
  453. LargeIcon="pack://application:,,,/Resources/kpi.png"
  454. Click="Dashboards_Checked" MinWidth="60" />
  455. <fluent:Button x:Name="ProductsMessagesButton" Size="Large"
  456. Header="Notification Centre"
  457. LargeIcon="pack://application:,,,/Resources/email.png"
  458. Click="Messages_Checked" MinWidth="60" />
  459. <fluent:Button x:Name="ProductsTaskButton" Header="Task List"
  460. LargeIcon="pack://application:,,,/Resources/kanban.png"
  461. Click="Tasks_Checked" MinWidth="60" />
  462. <fluent:Button x:Name="ProductsAttendanceButton" Header="In/Out Board"
  463. LargeIcon="pack://application:,,,/Resources/attendance.png"
  464. Click="Attendance_Checked" MinWidth="60" />
  465. <fluent:Button x:Name="ProductsMapButton" Header="Live Maps"
  466. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  467. MinWidth="60" />
  468. <fluent:Button x:Name="ProductsDailyReportButton" Header="Daily Report"
  469. LargeIcon="pack://application:,,,/Resources/report.png"
  470. Click="DailyReport_Checked" MinWidth="60" />
  471. <syncfusion:RibbonSeparator x:Name="ProductsTaskSeparator" />
  472. <fluent:Button x:Name="ProductsMasterList" Header="Product List"
  473. LargeIcon="pack://application:,,,/Resources/product.png"
  474. Click="Products_Checked" MinWidth="60" />
  475. <fluent:Button x:Name="StockLocationList" Header="Stock Locations"
  476. LargeIcon="pack://application:,,,/Resources/parcel.png"
  477. Click="StockLocations_Checked" MinWidth="60" />
  478. <fluent:Button x:Name="StockMovementList" Header="Stock Movements"
  479. LargeIcon="pack://application:,,,/Resources/forklift.png"
  480. Click="StockMovements_Checked" MinWidth="60" />
  481. <fluent:Button x:Name="StockSummaryButton" Header="Stock Forecast"
  482. LargeIcon="pack://application:,,,/Resources/kpi.png"
  483. Click="StockSummaryButton_Clicked" MinWidth="60" />
  484. <fluent:Button x:Name="JobRequisitionDashboardButton" Header="Reservation Management"
  485. LargeIcon="pack://application:,,,/Resources/requisition.png"
  486. Click="JobRequisitionDashboardButton_Clicked" MinWidth="60" />
  487. </fluent:RibbonGroupBox>
  488. <fluent:RibbonGroupBox x:Name="ProductReports" Width="Auto" MinWidth="60" Header="Print"
  489. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  490. IsLauncherVisible="False" />
  491. <!--fluent:RibbonGroupBox x:Name="ProductSetup" Width="Auto" Header="Tools"
  492. IsLauncherVisible="False">
  493. <fluent:Button x:Name="ProductDimensionUnitsList" Size="Large"
  494. Header="Units of Measure"
  495. LargeIcon="pack://application:,,,/Resources/unitofmeasure.png"
  496. Click="ProductDimensionUnitsList_Click" MinWidth="60" />
  497. <fluent:Button x:Name="ProductGroupsList" Header="Product Groups"
  498. LargeIcon="pack://application:,,,/Resources/productgroup.png"
  499. Click="ProductGroupsList_Click" MinWidth="60" />
  500. <fluent:Button x:Name="ProductStylesList" Header="Product Styles"
  501. LargeIcon="pack://application:,,,/Resources/palette.png"
  502. Click="ProductStylesList_Click" MinWidth="60" />
  503. <fluent:Button x:Name="StockAreasList" Header="Stock Areas"
  504. LargeIcon="pack://application:,,,/Resources/rack.png"
  505. Click="StockAreasList_Click" MinWidth="60" />
  506. <fluent:Button x:Name="StockWarehouseList" Header="Stock Warehouses"
  507. LargeIcon="pack://application:,,,/Resources/factorysetup.png"
  508. Click="StockWarehouseList_Click" MinWidth="60" />
  509. </fluent:RibbonGroupBox-->
  510. </fluent:RibbonTabItem>
  511. <fluent:RibbonTabItem x:Name="HumanResourcesTab" Header="Human Resources" IsSelected="False"
  512. Visibility="Collapsed">
  513. <fluent:RibbonGroupBox x:Name="HumanResourcesActions" Header="Actions"
  514. LauncherClick="ManageModulesClick" IsLauncherVisible="False">
  515. <fluent:Button Header="Refresh"
  516. LargeIcon="pack://application:,,,/Resources/refresh.png"
  517. Click="RefreshMenu_Click" MinWidth="60" />
  518. <syncfusion:RibbonSeparator />
  519. <fluent:Button x:Name="HumanResourcesDashboardButton" Header="Dashboards"
  520. LargeIcon="pack://application:,,,/Resources/kpi.png"
  521. Click="Dashboards_Checked" MinWidth="60" />
  522. <fluent:Button x:Name="HumanResourcesMessagesButton" Size="Large"
  523. Header="Notification Centre"
  524. LargeIcon="pack://application:,,,/Resources/email.png"
  525. Click="Messages_Checked" MinWidth="60" />
  526. <fluent:Button x:Name="HumanResourcesTaskButton" Header="Task List"
  527. LargeIcon="pack://application:,,,/Resources/kanban.png"
  528. Click="Tasks_Checked" MinWidth="60" />
  529. <fluent:Button x:Name="HumanResourcesAttendanceButton" Size="Large"
  530. Header="In/Out Board"
  531. LargeIcon="pack://application:,,,/Resources/attendance.png"
  532. Click="Attendance_Checked" MinWidth="60" />
  533. <fluent:Button x:Name="HumanResourcesMapButton" Header="Live Maps"
  534. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  535. MinWidth="60" />
  536. <fluent:Button x:Name="HumanResourcesDailyReportButton" Size="Large"
  537. Header="Daily Report"
  538. LargeIcon="pack://application:,,,/Resources/report.png"
  539. Click="DailyReport_Checked" MinWidth="60" />
  540. <syncfusion:RibbonSeparator x:Name="HumanResourcesTaskSeparator" />
  541. <fluent:Button x:Name="AssignmentsButton" Header="Calendar"
  542. LargeIcon="pack://application:,,,/Resources/assignments.png"
  543. Click="CalendarButton_Click" MinWidth="60" />
  544. <fluent:Button x:Name="EmployeePlannerButton" Header="Employee Planner"
  545. LargeIcon="pack://application:,,,/Resources/calendar.png"
  546. Click="EmployeePlannerButton_Click" MinWidth="60" />
  547. <fluent:Button x:Name="TimesheetsButton" Header="Staff TimeSheets"
  548. LargeIcon="pack://application:,,,/Resources/clock.png"
  549. Click="Timesheets_Checked" MinWidth="60" />
  550. <fluent:Button x:Name="LeaveRequestsButton" Header="Leave Requests"
  551. LargeIcon="pack://application:,,,/Resources/leave.png"
  552. Click="LeaveRequestsButton_Click" MinWidth="60" />
  553. <fluent:Button x:Name="MeetingsButton" Header="Meetings"
  554. LargeIcon="pack://application:,,,/Resources/employees.png"
  555. Click="MeetingsButton_Click" MinWidth="60" />
  556. <syncfusion:RibbonSeparator x:Name="HumanResourcesSetupSeparator1" />
  557. <fluent:Button x:Name="UsersButton" Header="User Accounts"
  558. LargeIcon="pack://application:,,,/Resources/user.png"
  559. Click="UserSetup_Click" MinWidth="60" />
  560. <fluent:Button x:Name="EmployeesButton" Header="Employee List"
  561. LargeIcon="pack://application:,,,/Resources/employee.png"
  562. Click="Employees_Click" MinWidth="60" />
  563. <fluent:Button x:Name="OrgChartButton" Header="Org Chart"
  564. LargeIcon="pack://application:,,,/Resources/orgchart.png"
  565. Click="OrgChartButton_Click" MinWidth="60" />
  566. </fluent:RibbonGroupBox>
  567. <fluent:RibbonGroupBox x:Name="HumanResourcesReports" Width="Auto" MinWidth="60" Header="Print"
  568. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  569. IsLauncherVisible="False" />
  570. <!--fluent:RibbonGroupBox x:Name="HumanResourcesSetup" Width="Auto" Header="Tools"
  571. IsLauncherVisible="False">
  572. <fluent:Button x:Name="SecurityGroupsButton" Header="Security Groups"
  573. LargeIcon="pack://application:,,,/Resources/securitygroup.png"
  574. Click="SecurityGroupsButton_Click" MinWidth="60" />
  575. <fluent:Button x:Name="EmployeeGroupsButton" Header="Employee Groups"
  576. LargeIcon="pack://application:,,,/Resources/employees.png"
  577. Click="GroupsSetup_Click" MinWidth="60" />
  578. <fluent:Button x:Name="EmployeePositionsButton" Header="Positions"
  579. LargeIcon="pack://application:,,,/Resources/position.png"
  580. Click="PositionsSetup_Click" MinWidth="60" />
  581. <fluent:Button x:Name="EmployeeRolesButton" Header="Roles"
  582. LargeIcon="pack://application:,,,/Resources/employeerole.png"
  583. Click="RolesSetup_Click" MinWidth="60" />
  584. <fluent:Button x:Name="EmployeeTeamsButton" Header="Teams"
  585. LargeIcon="pack://application:,,,/Resources/team.png"
  586. Click="EmployeeTeamsButton_Click" MinWidth="60" />
  587. <fluent:Button x:Name="EmployeeActivitiesButton" Header="Activities"
  588. LargeIcon="pack://application:,,,/Resources/quality.png"
  589. Click="ActivityMenu_Click" MinWidth="60" />
  590. <fluent:Button x:Name="EmployeeQualificationsButton" Size="Large"
  591. Header="Qualifications"
  592. LargeIcon="pack://application:,,,/Resources/certificate.png"
  593. Click="QualificationMenu_Click" MinWidth="60" />
  594. <syncfusion:RibbonSeparator x:Name="HumanResourcesSetupSeparator2" />
  595. <fluent:Button x:Name="OvertimeRulesButton" Header="Overtime Rules"
  596. LargeIcon="pack://application:,,,/Resources/overtime.png"
  597. Click="OvertimeRulesButton_Click" MinWidth="60" />
  598. <fluent:Button x:Name="StandardLeaveButton" Header="Standard Leave"
  599. LargeIcon="pack://application:,,,/Resources/fireworks.png"
  600. Click="StandardLeaveButton_Click" MinWidth="60" />
  601. </fluent:RibbonGroupBox-->
  602. </fluent:RibbonTabItem>
  603. <fluent:RibbonTabItem x:Name="AccountsTab" Header="Accounts" IsSelected="False" Visibility="Collapsed">
  604. <fluent:RibbonGroupBox x:Name="AccountsActions" Header="Actions" LauncherClick="ManageModulesClick"
  605. IsLauncherVisible="False">
  606. <fluent:Button Header="Refresh"
  607. LargeIcon="pack://application:,,,/Resources/refresh.png"
  608. Click="RefreshMenu_Click" MinWidth="60" />
  609. <syncfusion:RibbonSeparator />
  610. <fluent:Button x:Name="AccountsDashboardButton" Header="Dashboards"
  611. LargeIcon="pack://application:,,,/Resources/kpi.png"
  612. Click="Dashboards_Checked" MinWidth="60" />
  613. <fluent:Button x:Name="AccountsMessagesButton" Size="Large"
  614. Header="Notification Centre"
  615. LargeIcon="pack://application:,,,/Resources/email.png"
  616. Click="Messages_Checked" MinWidth="60" />
  617. <fluent:Button x:Name="AccountsTaskButton" Header="Task List"
  618. LargeIcon="pack://application:,,,/Resources/kanban.png"
  619. Click="Tasks_Checked" MinWidth="60" />
  620. <fluent:Button x:Name="AccountsDataButton" Header="Data Entry"
  621. LargeIcon="pack://application:,,,/Resources/pencil.png"
  622. Click="DataEntry_Click" MinWidth="60" />
  623. <fluent:Button x:Name="AccountsAttendanceButton" Header="In/Out Board"
  624. LargeIcon="pack://application:,,,/Resources/attendance.png"
  625. Click="Attendance_Checked" MinWidth="60" />
  626. <fluent:Button x:Name="AccountsMapButton" Header="Live Maps"
  627. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  628. MinWidth="60" />
  629. <fluent:Button x:Name="AccountsDailyReportButton" Header="Daily Report"
  630. LargeIcon="pack://application:,,,/Resources/report.png"
  631. Click="DailyReport_Checked" MinWidth="60" />
  632. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator1" />
  633. <fluent:Button x:Name="CustomerList" Header="Customers"
  634. LargeIcon="pack://application:,,,/Resources/customer.png"
  635. Click="CustomerList_Click" MinWidth="60" />
  636. <fluent:Button x:Name="InvoiceList" Header="Invoices"
  637. LargeIcon="pack://application:,,,/Resources/invoice.png"
  638. Click="InvoiceList_Click" MinWidth="60" />
  639. <fluent:Button x:Name="ReceiptList" Header="Receipts"
  640. LargeIcon="pack://application:,,,/Resources/receipt.png"
  641. Click="ReceiptList_Click" MinWidth="60" />
  642. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator2" />
  643. <fluent:Button x:Name="SupplierList" Header="Suppliers"
  644. LargeIcon="pack://application:,,,/Resources/supplier.png"
  645. Click="SupplierList_Click" MinWidth="60" />
  646. <fluent:Button x:Name="PurchasesList" Header="Purchase Orders"
  647. LargeIcon="pack://application:,,,/Resources/purchase.png"
  648. Click="PurchasesList_Click" MinWidth="60" />
  649. <fluent:Button x:Name="BillsList" Header="Bills"
  650. LargeIcon="pack://application:,,,/Resources/bill.png"
  651. Click="BillsList_Click" MinWidth="60" />
  652. <fluent:Button x:Name="PaymentsList" Header="Payments"
  653. LargeIcon="pack://application:,,,/Resources/payment.png"
  654. Click="PaymentsList_Click" MinWidth="60" />
  655. </fluent:RibbonGroupBox>
  656. <fluent:RibbonGroupBox x:Name="AccountsReports" Width="Auto" MinWidth="60" Header="Print"
  657. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  658. IsLauncherVisible="False" />
  659. <!--fluent:RibbonGroupBox x:Name="AccountsSetup" Width="Auto" Header="Tools"
  660. IsLauncherVisible="False">
  661. <fluent:Button x:Name="ContactTypeList" Header="Contact Types"
  662. LargeIcon="pack://application:,,,/Resources/contacttype.png"
  663. Click="ContactTypeList_Click" MinWidth="60" />
  664. <fluent:Button x:Name="TaxCodeList" Header="Tax Codes"
  665. LargeIcon="pack://application:,,,/Resources/taxcode.png"
  666. Click="TaxCodeList_Click" MinWidth="60" />
  667. <fluent:Button x:Name="ReceiptTypeList" Header="Receipt Types"
  668. LargeIcon="pack://application:,,,/Resources/receipt.png"
  669. Click="ReceiptTypeList_Click" MinWidth="60" />
  670. <fluent:Button x:Name="PaymentTypeList" Header="Payment Types"
  671. LargeIcon="pack://application:,,,/Resources/payment.png"
  672. Click="PaymentTypeList_Click" MinWidth="60" />
  673. <fluent:Button x:Name="CostCentresList" Header="Cost Centres"
  674. LargeIcon="pack://application:,,,/Resources/costcentre.png"
  675. Click="CostCentresList_Click" MinWidth="60" />
  676. <fluent:Button x:Name="GLCodesList" Header="GL Codes"
  677. LargeIcon="pack://application:,,,/Resources/glcode.png"
  678. Click="GLCodesList_Click" MinWidth="60" />
  679. <fluent:Button x:Name="PurchaseOrderCategoriesList" Size="Large"
  680. Header="Purchase Order Categories"
  681. LargeIcon="pack://application:,,,/Resources/service.png"
  682. Click="PurchaseOrderCategoriesButton_Click" MinWidth="60" />
  683. </fluent:RibbonGroupBox-->
  684. </fluent:RibbonTabItem>
  685. <fluent:RibbonTabItem x:Name="EquipmentTab" Header="Equipment" IsSelected="True" Visibility="Collapsed">
  686. <fluent:RibbonGroupBox x:Name="EquipmentActions" Width="Auto" Header="Actions"
  687. LauncherClick="ManageModulesClick" IsLauncherVisible="False">
  688. <fluent:Button Header="Refresh"
  689. LargeIcon="pack://application:,,,/Resources/refresh.png"
  690. Click="RefreshMenu_Click" MinWidth="60" />
  691. <syncfusion:RibbonSeparator />
  692. <fluent:Button x:Name="EquipmentDashboardButton" Header="Dashboards"
  693. LargeIcon="pack://application:,,,/Resources/kpi.png"
  694. Click="Dashboards_Checked" MinWidth="60" />
  695. <fluent:Button x:Name="EquipmentMessagesButton" Size="Large"
  696. Header="Notification Centre"
  697. LargeIcon="pack://application:,,,/Resources/email.png"
  698. Click="Messages_Checked" MinWidth="60" />
  699. <fluent:Button x:Name="EquipmentTaskButton" Header="Task List"
  700. LargeIcon="pack://application:,,,/Resources/kanban.png"
  701. Click="Tasks_Checked" MinWidth="60" />
  702. <fluent:Button x:Name="EquipmentAttendanceButton" Header="In/Out Board"
  703. LargeIcon="pack://application:,,,/Resources/attendance.png"
  704. Click="Attendance_Checked" MinWidth="60" />
  705. <fluent:Button x:Name="EquipmentMapButton" Header="Live Maps"
  706. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  707. MinWidth="60" />
  708. <fluent:Button x:Name="EquipmentDailyReportButton" Header="Daily Report"
  709. LargeIcon="pack://application:,,,/Resources/report.png"
  710. Click="DailyReport_Checked" MinWidth="60" />
  711. <syncfusion:RibbonSeparator x:Name="EquipmentTaskSeparator" />
  712. <fluent:Button x:Name="EquipmentButton" Header="Equipment List"
  713. LargeIcon="pack://application:,,,/Resources/specifications.png"
  714. Click="Equipment_Checked" MinWidth="60" />
  715. <fluent:Button x:Name="TrackersMasterList" Header="GPS Trackers"
  716. LargeIcon="pack://application:,,,/Resources/milestone.png"
  717. Click="Trackers_Click" MinWidth="60" />
  718. </fluent:RibbonGroupBox>
  719. <fluent:RibbonGroupBox x:Name="EquipmentReports" Width="Auto" MinWidth="60" Header="Print"
  720. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  721. IsLauncherVisible="False" />
  722. <!--fluent:RibbonGroupBox x:Name="EquipmentSetup" Width="Auto" Header="Tools"
  723. IsLauncherVisible="False">
  724. <fluent:Button x:Name="TrackerTypesMasterList" Header="Tracker Types"
  725. LargeIcon="pack://application:,,,/Resources/milestone.png"
  726. Click="TrackerTypes_Click" MinWidth="60" />
  727. <fluent:Button x:Name="StickersMasterList" Header="Stickers"
  728. LargeIcon="pack://application:,,,/Resources/barcode.png"
  729. Click="Stickers_Click" MinWidth="60" />
  730. <fluent:Button x:Name="DigitalKeysMasterList" Header="Digital Keys"
  731. LargeIcon="pack://application:,,,/Resources/key.png"
  732. Click="DigitalKeys_Click" MinWidth="60" />
  733. <fluent:Button x:Name="EquipmentGroupList" Header="Equipment Groups"
  734. LargeIcon="pack://application:,,,/Resources/specifications.png"
  735. Click="EquipmentGroupList_Click" MinWidth="60" />
  736. </fluent:RibbonGroupBox-->
  737. </fluent:RibbonTabItem>
  738. <fluent:RibbonTabItem x:Name="DashboardsTab" Header="Dashboards" IsSelected="False" Visibility="Collapsed">
  739. <fluent:RibbonGroupBox x:Name="DashboardsActions" Header="Actions" LauncherClick="ManageModulesClick"
  740. IsLauncherVisible="False">
  741. <fluent:Button Header="Refresh"
  742. LargeIcon="pack://application:,,,/Resources/refresh.png"
  743. Click="RefreshMenu_Click" MinWidth="60" />
  744. <syncfusion:RibbonSeparator />
  745. <fluent:Button x:Name="DashboardsDashboardButton" Header="Dashboards"
  746. LargeIcon="pack://application:,,,/Resources/kpi.png"
  747. Click="Dashboards_Checked" MinWidth="60" />
  748. <fluent:Button x:Name="DashboardMessagesButton" Size="Large"
  749. Header="Notification Centre"
  750. LargeIcon="pack://application:,,,/Resources/email.png"
  751. Click="Messages_Checked" MinWidth="60" />
  752. <fluent:Button x:Name="DashboardsTaskButton" Header="Task List"
  753. LargeIcon="pack://application:,,,/Resources/kanban.png"
  754. Click="Tasks_Checked" MinWidth="60" />
  755. <fluent:Button x:Name="DashboardsAttendanceButton" Header="In/Out Board"
  756. LargeIcon="pack://application:,,,/Resources/attendance.png"
  757. Click="Attendance_Checked" MinWidth="60" />
  758. <fluent:Button x:Name="DashboardsMapButton" Header="Live Maps"
  759. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  760. MinWidth="60" />
  761. <fluent:Button x:Name="DashboardsDailyReportButton" Header="Daily Report"
  762. LargeIcon="pack://application:,,,/Resources/report.png"
  763. Click="DailyReport_Checked" MinWidth="60" />
  764. <syncfusion:RibbonSeparator x:Name="DashboardsTaskSeparator" />
  765. <!--This is where the static dashboards need to go-->
  766. <fluent:Button x:Name="FactoryProductivityButton" Header="Factory KPIs"
  767. LargeIcon="pack://application:,,,/Resources/kpi.png"
  768. Click="FactoryProductivityButton_Click" MinWidth="60" />
  769. <fluent:Button x:Name="TemplateAnalysisButton" Header="Template Analysis"
  770. LargeIcon="pack://application:,,,/Resources/kpi.png"
  771. Click="TemplateAnalysisButton_Click" MinWidth="60" />
  772. <fluent:Button x:Name="FactoryAnalysisButton" Header="Factory Analysis"
  773. LargeIcon="pack://application:,,,/Resources/kpi.png"
  774. Click="FactoryAnalysisButton_Click" MinWidth="60" />
  775. <fluent:Button x:Name="DatabaseActivityButton" Header="Database Activity"
  776. LargeIcon="pack://application:,,,/Resources/kpi.png"
  777. Click="DatabaseActivityButton_Click" MinWidth="60" />
  778. <fluent:Button x:Name="UserActivityButton" Header="User Activity"
  779. LargeIcon="pack://application:,,,/Resources/kpi.png"
  780. Click="UserActivityButton_Click" MinWidth="60" />
  781. <fluent:Button x:Name="QAAnalysisButton" Header="Digital Forms"
  782. LargeIcon="pack://application:,,,/Resources/kpi.png"
  783. Click="QAAnalysisButton_Click" MinWidth="60" />
  784. <fluent:Button x:Name="QuickStatusButton" Header="Quick Status"
  785. LargeIcon="pack://application:,,,/Resources/kpi.png"
  786. Click="QuickStatus_Click" MinWidth="60" />
  787. </fluent:RibbonGroupBox>
  788. <fluent:RibbonGroupBox x:Name="DashboardsReports" Width="Auto" MinWidth="60" Header="Print"
  789. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  790. IsLauncherVisible="False" />
  791. </fluent:RibbonTabItem>
  792. </fluent:Ribbon>
  793. <Grid Grid.Row="0" Grid.Column="1">
  794. <Grid.ColumnDefinitions>
  795. <ColumnDefinition Width="*" />
  796. <ColumnDefinition Width="*" />
  797. <ColumnDefinition Width="*" />
  798. </Grid.ColumnDefinitions>
  799. <Grid.RowDefinitions>
  800. <RowDefinition Height="30" />
  801. <RowDefinition Height="*" />
  802. </Grid.RowDefinitions>
  803. <fluent:Button
  804. x:Name="SendNotification"
  805. Header="Send Notification"
  806. BorderBrush="Gray"
  807. BorderThickness="0.75"
  808. Margin="0,0,5,0"
  809. Background="WhiteSmoke"
  810. Grid.Row="0"
  811. Grid.Column="2"
  812. Size="Middle"
  813. Icon="Resources/team.png"
  814. HorizontalAlignment="Stretch"
  815. Height="25"
  816. Click="SendNotificationClick" />
  817. <fluent:Button Grid.Row="1" Grid.Column="0"
  818. Header="Setup"
  819. LargeIcon="Resources/view.png"
  820. Click="Setup_Click"
  821. Margin="0,0,5,20"/>
  822. <fluent:Button Grid.Row="1" Grid.Column="1"
  823. Header="Forms"
  824. LargeIcon="Resources/contract.png"
  825. Click="Forms_Click"
  826. Margin="0,0,5,20"/>
  827. <Border Grid.Row="1" Grid.Column="2"
  828. BorderBrush="Silver" BorderThickness="0,0.75,0.75,0.75" Padding="0,0,5,20">
  829. <StackPanel Orientation="Horizontal">
  830. <fluent:Button
  831. Header="Online Help"
  832. LargeIcon="Resources/help.png"
  833. Click="Wiki_Click" />
  834. <fluent:Button
  835. x:Name="EquipmentTechnicalLibrary"
  836. Header="Technical Library"
  837. LargeIcon="Resources/doc-pdf.png"
  838. Click="Library_Click" />
  839. </StackPanel>
  840. </Border>
  841. </Grid>
  842. <DockingManager x:Name="DockingManager"
  843. Grid.Row="1"
  844. Grid.Column="0"
  845. Grid.ColumnSpan="2"
  846. AllowMixedOrientation="True"
  847. AutoWindowSizeWhenOpened="True"
  848. IsVirtualizingAnchorable="True"
  849. IsVirtualizingDocument="True"
  850. Margin="-4,-4,-4,0" Padding="0" BorderBrush="Silver" BorderThickness="0,0.75,0,0">
  851. <DockingManager.Theme>
  852. <MetroTheme />
  853. </DockingManager.Theme>
  854. <DockingManager.Resources>
  855. <!-- DockingManager.Background, LayoutDocumentFloatingWindowControl.Header.Foreground-->
  856. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor1"
  857. Color="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundColor)}" />
  858. <!-- AnchorablePaneTitle.DropDownControlArea.Foreground, LayoutAnchorControl.Foreground, LayoutAnchorableFloatingWindowControl.Foreground-->
  859. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor2"
  860. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  861. <!-- TabItem.IsActive.Border, AnchorablePaneTitle.IsActive.Border LayoutAnchorControl.IsActive.Border -->
  862. <!-- LayoutDocumentFolatingWindowControl.IsActive.Border -->
  863. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor3"
  864. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  865. <!-- TabItem.Hover.Border, LayoutAnchorControl.Hover.Border -->
  866. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor4"
  867. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  868. <!-- TabItem.IsSelected.Border, TabItem.IsActive.ForeGround, TabItem.Hover.Foreground, LayoutFloatingWindowControl.Background -->
  869. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor5"
  870. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  871. <!-- FloatingWindowControl.Border, LayoutAnchorableFloatingWindowControl.Border -->
  872. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor6"
  873. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  874. <!-- LayoutGridResizerControl.Background, NavigatorWindow.Background -->
  875. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor7" Color="#EEEEEE" />
  876. </DockingManager.Resources>
  877. <LayoutRoot>
  878. <LayoutPanel Orientation="Horizontal">
  879. <LayoutDocumentPaneGroup>
  880. <LayoutDocumentPane x:Name="LayoutDocumentPane" ShowHeader="False">
  881. <LayoutDocument Title="Document 1" ContentId="document1">
  882. <Grid x:Name="DockingGrid">
  883. <Grid.RowDefinitions>
  884. <RowDefinition Height="*" />
  885. </Grid.RowDefinitions>
  886. <Grid.ColumnDefinitions>
  887. <ColumnDefinition Width="*" />
  888. <ColumnDefinition Width="0" />
  889. <ColumnDefinition Width="0" />
  890. </Grid.ColumnDefinitions>
  891. <ContentControl x:Name="ContentControl" HorizontalAlignment="Stretch"
  892. VerticalAlignment="Stretch"
  893. Grid.Column="0" Grid.Row="0" Margin="0,-4,2,-4" />
  894. <syncfusion:SfGridSplitter Grid.Row="0" Grid.Column="1"
  895. ResizeBehavior="PreviousAndNext"
  896. Background="Transparent"
  897. Template="{StaticResource VerticalSplitter}">
  898. <syncfusion:SfGridSplitter.PreviewStyle>
  899. <Style TargetType="Control">
  900. <Setter Property="Background" Value="Gray" />
  901. <Setter Property="Template">
  902. <Setter.Value>
  903. <ControlTemplate TargetType="Control">
  904. <Grid x:Name="Root" Opacity="0.5">
  905. <Rectangle Fill="{TemplateBinding Background}" />
  906. </Grid>
  907. </ControlTemplate>
  908. </Setter.Value>
  909. </Setter>
  910. </Style>
  911. </syncfusion:SfGridSplitter.PreviewStyle>
  912. </syncfusion:SfGridSplitter>
  913. <local:NotificationsDock
  914. x:Name="Notifications"
  915. Grid.Row="0"
  916. Grid.Column="2"
  917. Changed="Notifications_Changed"
  918. Margin="0,-4,0,-4" />
  919. </Grid>
  920. </LayoutDocument>
  921. </LayoutDocumentPane>
  922. </LayoutDocumentPaneGroup>
  923. </LayoutPanel>
  924. <LayoutRoot.LeftSide>
  925. <LayoutAnchorSide>
  926. <LayoutAnchorGroup x:Name="DockGroup">
  927. <LayoutAnchorable
  928. x:Name="ContactDock"
  929. Title="Address Book"
  930. ContentId="contacts"
  931. CanClose="False"
  932. CanFloat="False"
  933. CanHide="False"
  934. CanAutoHide="False"
  935. CanDockAsTabbedDocument="False"
  936. CanMove="False"
  937. AutoHideWidth="500"
  938. FloatingWidth="500"
  939. AutoHideMinWidth="400"
  940. IsActiveChanged="DockPanel_OnIsActiveChanged">
  941. <Border BorderThickness="0.75" BorderBrush="Gray">
  942. <local:ContactDock x:Name="Contacts" />
  943. </Border>
  944. </LayoutAnchorable>
  945. <LayoutAnchorable
  946. x:Name="JobDock"
  947. Title="Projects"
  948. ContentId="projects"
  949. CanClose="False"
  950. CanFloat="False"
  951. CanHide="False"
  952. CanAutoHide="False"
  953. CanDockAsTabbedDocument="False"
  954. CanMove="False"
  955. AutoHideWidth="500"
  956. FloatingWidth="500"
  957. AutoHideMinWidth="400"
  958. IsActiveChanged="DockPanel_OnIsActiveChanged">
  959. <Border BorderThickness="0.75" BorderBrush="Gray">
  960. <local:JobDock x:Name="Jobs" />
  961. </Border>
  962. </LayoutAnchorable>
  963. <LayoutAnchorable
  964. x:Name="ConsignmentDock"
  965. Title="Consignments"
  966. ContentId="consignments"
  967. CanClose="False"
  968. CanFloat="False"
  969. CanHide="False"
  970. CanAutoHide="True"
  971. CanDockAsTabbedDocument="False"
  972. AutoHideWidth="500"
  973. FloatingWidth="500"
  974. AutoHideMinWidth="400"
  975. IsActiveChanged="DockPanel_OnIsActiveChanged">
  976. <Border BorderThickness="0.75" BorderBrush="Gray">
  977. <local:ConsignmentDock x:Name="Consignments" />
  978. </Border>
  979. </LayoutAnchorable>
  980. <LayoutAnchorable
  981. x:Name="DeliveryDock"
  982. Title="Deliveries"
  983. ContentId="deliveries"
  984. CanClose="False"
  985. CanFloat="False"
  986. CanHide="False"
  987. CanAutoHide="True"
  988. CanDockAsTabbedDocument="False"
  989. AutoHideWidth="500"
  990. FloatingWidth="500"
  991. AutoHideMinWidth="400"
  992. IsActiveChanged="DockPanel_OnIsActiveChanged">
  993. <Border BorderThickness="0.75" BorderBrush="Gray">
  994. <local:DeliveryDock x:Name="Deliveries" />
  995. </Border>
  996. </LayoutAnchorable>
  997. <LayoutAnchorable
  998. x:Name="ProductLookupDock"
  999. Title="Products"
  1000. ContentId="products"
  1001. CanClose="False"
  1002. CanFloat="False"
  1003. CanHide="False"
  1004. CanAutoHide="True"
  1005. CanDockAsTabbedDocument="False"
  1006. AutoHideWidth="500"
  1007. FloatingWidth="500"
  1008. AutoHideMinWidth="400"
  1009. IsActiveChanged="DockPanel_OnIsActiveChanged">
  1010. <Border BorderThickness="0.75" BorderBrush="Gray">
  1011. <local:ProductLookupDock x:Name="ProductLookup" />
  1012. </Border>
  1013. </LayoutAnchorable>
  1014. <LayoutAnchorable
  1015. x:Name="DigitalFormsDock"
  1016. Title="Digital Forms"
  1017. ContentId="digitalforms"
  1018. CanClose="False"
  1019. CanFloat="False"
  1020. CanHide="False"
  1021. CanAutoHide="True"
  1022. CanDockAsTabbedDocument="False"
  1023. AutoHideWidth="500"
  1024. FloatingWidth="500"
  1025. AutoHideMinWidth="400"
  1026. IsActiveChanged="DockPanel_OnIsActiveChanged">
  1027. <Border BorderThickness="0.75" BorderBrush="Gray">
  1028. <local:DigitalFormsDock x:Name="DigitalForms" />
  1029. </Border>
  1030. </LayoutAnchorable>
  1031. <LayoutAnchorable
  1032. x:Name="ScansDock"
  1033. Title="Scans"
  1034. ContentId="scans"
  1035. CanClose="False"
  1036. CanFloat="False"
  1037. CanHide="False"
  1038. CanAutoHide="True"
  1039. CanDockAsTabbedDocument="False"
  1040. AutoHideWidth="500"
  1041. FloatingWidth="500"
  1042. AutoHideMinWidth="400"
  1043. IsActiveChanged="DockPanel_OnIsActiveChanged">
  1044. <Border BorderThickness="0.75" BorderBrush="Gray">
  1045. <local:ScanPanel x:Name="Scans" />
  1046. </Border>
  1047. </LayoutAnchorable>
  1048. </LayoutAnchorGroup>
  1049. </LayoutAnchorSide>
  1050. </LayoutRoot.LeftSide>
  1051. </LayoutRoot>
  1052. </DockingManager>
  1053. <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="0"
  1054. Background="DimGray">
  1055. <Grid>
  1056. <Grid.ColumnDefinitions>
  1057. <ColumnDefinition Width="Auto" />
  1058. <ColumnDefinition Width="*" />
  1059. <ColumnDefinition Width="Auto" />
  1060. <ColumnDefinition Width="Auto" />
  1061. <ColumnDefinition Width="Auto" />
  1062. <ColumnDefinition Width="Auto" />
  1063. <ColumnDefinition Width="Auto" />
  1064. <ColumnDefinition Width="Auto" />
  1065. <ColumnDefinition Width="100" />
  1066. <ColumnDefinition Width="Auto" />
  1067. </Grid.ColumnDefinitions>
  1068. <Label Grid.Column="0" x:Name="ProfileName" Content="" HorizontalContentAlignment="Center"
  1069. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Padding="20,0,20,0" />
  1070. <Label Grid.Column="1" x:Name="URL" Content="" VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1071. <DockPanel x:Name="TaskTracking" Grid.Column="2" Margin="0,0,50,0">
  1072. <Button DockPanel.Dock="Right" BorderBrush="Transparent" Background="Transparent"
  1073. Click="SelectTask_Click" Width="25">
  1074. <Image x:Name="SelectTask" Source="Resources/uparrow.png" />
  1075. </Button>
  1076. <Label x:Name="SelectedTaskName" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  1077. Content="(No Task Selected)" Foreground="WhiteSmoke" />
  1078. </DockPanel>
  1079. <Button Grid.Column="3" x:Name="VideoRecordingButton" BorderThickness="0" Background="Transparent"
  1080. Click="VideoRecordingButton_Click">
  1081. <Image x:Name="VideoRecordingStatus"
  1082. Source="pack://application:,,,/Resources/videorecording.png"
  1083. Height="24" Margin="2" />
  1084. </Button>
  1085. <Button Grid.Column="4" x:Name="RecordingNotesButton" BorderThickness="0" Background="Transparent"
  1086. Click="RecordingNotesButton_Click" Visibility="Hidden">
  1087. <Image x:Name="RecordingNotesStatus" Source="pack://application:,,,/Resources/speechbubble.png"
  1088. Height="24" Margin="2" />
  1089. </Button>
  1090. <Button Grid.Column="5" x:Name="AudioRecordingButton" BorderThickness="0" Background="Transparent"
  1091. Click="AudioRecordingButton_Click" Visibility="Hidden">
  1092. <Image x:Name="AudioRecordingStatus"
  1093. Source="pack://application:,,,/Resources/audiorecording.png"
  1094. Height="24" Margin="2" />
  1095. </Button>
  1096. <Button Grid.Column="6" x:Name="SecondaryWindowButton" BorderThickness="0" Background="Transparent"
  1097. Click="SecondaryWindow_Click" Visibility="Visible">
  1098. <Image x:Name="SecondaryWindowStatus" Source="pack://application:,,,/Resources/target.png"
  1099. Height="24" Margin="2" />
  1100. </Button>
  1101. <Button Grid.Column="7" x:Name="ConsoleButton" BorderThickness="0" Background="Transparent"
  1102. Click="Console_Click" Visibility="Visible">
  1103. <Image x:Name="ConsoleStatus" Source="pack://application:,,,/Resources/view.png" Height="24"
  1104. Margin="2" />
  1105. </Button>
  1106. <Label Grid.Column="8" x:Name="UserID" Content="" HorizontalContentAlignment="Center"
  1107. VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1108. <Label Grid.Column="9" x:Name="PasswordExpiryNotice" Content="" HorizontalContentAlignment="Center"
  1109. VerticalContentAlignment="Center" Background="Firebrick" Foreground="Yellow"
  1110. Visibility="Collapsed" />
  1111. </Grid>
  1112. </Border>
  1113. </Grid>
  1114. </fluent:RibbonWindow>