MainWindow.xaml 81 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246
  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="DesignManagementButton" Header="Design Management"
  293. LargeIcon="pack://application:,,,/Resources/design.png"
  294. Click="DesignManagement_Checked" MinWidth="60" />
  295. <fluent:Button x:Name="ServiceButton" Header="Service"
  296. LargeIcon="pack://application:,,,/Resources/service.png"
  297. Click="Service_Checked" MinWidth="60" />
  298. </fluent:RibbonGroupBox>
  299. <fluent:RibbonGroupBox x:Name="ProjectReports" Width="Auto" MinWidth="60" Header="Print"
  300. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  301. IsLauncherVisible="False" />
  302. <!--fluent:RibbonGroupBox x:Name="ProjectSetup" Width="Auto" Header="Tools"
  303. IsLauncherVisible="False">
  304. <fluent:Button x:Name="JobStatusButton" Header="Job Statuses"
  305. LargeIcon="pack://application:,,,/Resources/view.png"
  306. Click="JobStatusButton_Click" MinWidth="60" />
  307. <fluent:Button x:Name="JobDocumentMileStoneButton" Size="Large"
  308. Header="Document MileStones"
  309. LargeIcon="pack://application:,,,/Resources/revision.png"
  310. Click="JobDocumentMileStoneButton_OnClick" MinWidth="60" />
  311. <fluent:Button x:Name="FinancialStatusButton" Header="Financial Statuses"
  312. LargeIcon="pack://application:,,,/Resources/view.png"
  313. Click="FinancialStatusButton_Click" MinWidth="60" />
  314. <fluent:Button x:Name="DrawingTemplatesButton" Header="Drawing Templates"
  315. LargeIcon="pack://application:,,,/Resources/doc-misc.png"
  316. Click="DrawingTemplatesButton_Click" MinWidth="60" />
  317. </fluent:RibbonGroupBox-->
  318. </fluent:RibbonTabItem>
  319. <fluent:RibbonTabItem x:Name="ManufacturingTab" Header="Manufacturing" IsSelected="False"
  320. Visibility="Collapsed">
  321. <fluent:RibbonGroupBox x:Name="ManufacturingActions" Header="Actions"
  322. LauncherClick="ManageModulesClick"
  323. IsLauncherVisible="False">
  324. <fluent:Button Header="Refresh"
  325. LargeIcon="pack://application:,,,/Resources/refresh.png"
  326. Click="RefreshMenu_Click" MinWidth="60"/>
  327. <syncfusion:RibbonSeparator />
  328. <fluent:Button x:Name="ManufacturingDashboardButton" Header="Dashboards"
  329. LargeIcon="pack://application:,,,/Resources/kpi.png"
  330. Click="Dashboards_Checked" MinWidth="60" />
  331. <fluent:Button x:Name="ManufacturingMessagesButton" Size="Large"
  332. Header="Notification Centre"
  333. LargeIcon="pack://application:,,,/Resources/email.png"
  334. Click="Messages_Checked" MinWidth="60" />
  335. <fluent:Button x:Name="ManufacturingTaskButton" Header="Task List"
  336. LargeIcon="pack://application:,,,/Resources/kanban.png"
  337. Click="Tasks_Checked" MinWidth="60" />
  338. <fluent:Button x:Name="ManufacturingAttendanceButton" Size="Large"
  339. Header="In/Out Board"
  340. LargeIcon="pack://application:,,,/Resources/attendance.png"
  341. Click="Attendance_Checked" MinWidth="60" />
  342. <fluent:Button x:Name="ManufacturingMapButton" Header="Live Maps"
  343. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  344. MinWidth="60" />
  345. <fluent:Button x:Name="ManufacturingDailyReportButton" Size="Large"
  346. Header="Daily Report"
  347. LargeIcon="pack://application:,,,/Resources/report.png"
  348. Click="DailyReport_Checked" MinWidth="60" />
  349. <syncfusion:RibbonSeparator x:Name="ManufacturingTaskSeparator" />
  350. <fluent:Button x:Name="FactoryStatusButton" Header="Manufacturing Status"
  351. LargeIcon="pack://application:,,,/Resources/factory.png"
  352. Click="ManufacturingMenu_Checked" MinWidth="60" />
  353. <fluent:Button x:Name="FactoryAllocationButton" Size="Large"
  354. Header="Factory Allocation"
  355. LargeIcon="pack://application:,,,/Resources/assignments.png"
  356. Click="FactoryAllocationButton_Click" MinWidth="60" />
  357. <!--<fluent:Button x:Name="FactoryScheduleButton" Header="Factory Schedule" LargeIcon="pack://application:,,,/Resources/clock.png" Click="Schedule_Checked" MinWidth="60"/>-->
  358. <fluent:Button x:Name="FactoryFloorButton" Header="Factory Floor"
  359. LargeIcon="pack://application:,,,/Resources/wrench.png"
  360. Click="FactoryFloorButton_Click" MinWidth="60" />
  361. <!--<fluent:Button x:Name="FactoryReadyButton" Header="Ready To Go" LargeIcon="pack://application:,,,/Resources/truck.png" Click="FactoryReadyButton_Click" MinWidth="60"/>-->
  362. </fluent:RibbonGroupBox>
  363. <fluent:RibbonGroupBox x:Name="ManufacturingReports" Width="Auto" MinWidth="60" Header="Print"
  364. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  365. IsLauncherVisible="False" />
  366. <!--fluent:RibbonGroupBox x:Name="ManufacturingSetup" Width="Auto" Header="Tools"
  367. IsLauncherVisible="False">
  368. <fluent:Button x:Name="FactorySettingsButton" Header="Factory Settings"
  369. LargeIcon="pack://application:,,,/Resources/factorysetup.png"
  370. Click="FactorySetup_Click" MinWidth="60" />
  371. <fluent:Button x:Name="ManufacturingTemplatesButton" Size="Large"
  372. Header="Manufacturing Templates"
  373. LargeIcon="pack://application:,,,/Resources/template.png"
  374. Click="TemplateSetup_Click" MinWidth="60" />
  375. <fluent:Button x:Name="ManufacturingTrolleysButton" Size="Large"
  376. Header="Manufacturing Trolleys"
  377. LargeIcon="pack://application:,,,/Resources/trolley.png"
  378. Click="TrolleySetup_Click" MinWidth="60" />
  379. <fluent:Button x:Name="ManufacturingLostTimeButton" Size="Large"
  380. Header="Lost Time Types"
  381. LargeIcon="pack://application:,,,/Resources/smiley.png"
  382. Click="LostTimeSetup_Click" MinWidth="60" />
  383. <! - - <fluent:Button x:Name="ManufacturingTransferButton" Header="Transfer Settings" LargeIcon="pack://application:,,,/Resources/warning.png" Click="ManufacturingTransferButton_Click" MinWidth="60"/>
  384. <fluent:Button x:Name="RebuildPacketsButton" Header="Rebuild Packets" LargeIcon="pack://application:,,,/Resources/warning.png" Click="RebuildPacketsButton_Click" MinWidth="60"/> - - >
  385. </fluent:RibbonGroupBox-->
  386. </fluent:RibbonTabItem>
  387. <fluent:RibbonTabItem x:Name="LogisticsTab" Header="Logistics" IsSelected="False" Visibility="Collapsed">
  388. <fluent:RibbonGroupBox x:Name="LogisticsActions" Header="Actions" LauncherClick="ManageModulesClick"
  389. IsLauncherVisible="False">
  390. <fluent:Button Header="Refresh"
  391. LargeIcon="pack://application:,,,/Resources/refresh.png"
  392. Click="RefreshMenu_Click" MinWidth="60" />
  393. <syncfusion:RibbonSeparator />
  394. <fluent:Button x:Name="LogisticsDashboardButton" Header="Dashboards"
  395. LargeIcon="pack://application:,,,/Resources/kpi.png"
  396. Click="Dashboards_Checked" MinWidth="60" />
  397. <fluent:Button x:Name="LogisticsMessagesButton" Size="Large"
  398. Header="Notification Centre"
  399. LargeIcon="pack://application:,,,/Resources/email.png"
  400. Click="Messages_Checked" MinWidth="60" />
  401. <fluent:Button x:Name="LogisticsTaskButton" Header="Task List"
  402. LargeIcon="pack://application:,,,/Resources/kanban.png"
  403. Click="Tasks_Checked" MinWidth="60" />
  404. <fluent:Button x:Name="LogisticsAttendanceButton" Header="In/Out Board"
  405. LargeIcon="pack://application:,,,/Resources/attendance.png"
  406. Click="Attendance_Checked" MinWidth="60" />
  407. <fluent:Button x:Name="LogisticsMapButton" Header="Live Maps"
  408. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  409. MinWidth="60" />
  410. <fluent:Button x:Name="LogisticsDailyReportButton" Header="Daily Report"
  411. LargeIcon="pack://application:,,,/Resources/report.png"
  412. Click="DailyReport_Checked" MinWidth="60" />
  413. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator1" />
  414. <fluent:Button x:Name="ReadyToGoItemsButton" Header="Ready To Go"
  415. LargeIcon="pack://application:,,,/Resources/truck.png"
  416. Click="ReadyToGoMenu_Checked" MinWidth="60" />
  417. <fluent:Button x:Name="DispatchButton" Header="Rack List"
  418. LargeIcon="pack://application:,,,/Resources/barcode.png"
  419. Click="DispatchMenu_Checked" MinWidth="60" />
  420. <fluent:Button x:Name="RequisitionsButton" Header="Site Requisitions"
  421. LargeIcon="pack://application:,,,/Resources/box.png"
  422. Click="Requisitions_Checked" MinWidth="60" />
  423. <fluent:Button x:Name="DeliveriesButton" Header="Deliveries"
  424. LargeIcon="pack://application:,,,/Resources/truck.png"
  425. Click="DeliveriesButton_Click" MinWidth="60" />
  426. <fluent:Button x:Name="DeliveredItemsButton" Header="Delivered On Site"
  427. LargeIcon="pack://application:,,,/Resources/lifter.png"
  428. Click="DeliveredOnSiteMenu_Checked" MinWidth="60" />
  429. <syncfusion:RibbonSeparator x:Name="LogisticsTaskSeparator2" />
  430. <fluent:Button x:Name="ConsignmentButton" Header="Incoming Consignments"
  431. LargeIcon="pack://application:,,,/Resources/consignment.png"
  432. Click="ConsignmentButton_Click" MinWidth="60" />
  433. </fluent:RibbonGroupBox>
  434. <fluent:RibbonGroupBox x:Name="LogisticsReports" Width="Auto" MinWidth="60" Header="Print"
  435. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  436. IsLauncherVisible="False" />
  437. <!--fluent:RibbonGroupBox x:Name="LogisticsSetup" Width="Auto" Header="Tools"
  438. IsLauncherVisible="False">
  439. <fluent:Button x:Name="DeliveryTypesButton" Header="Delivery Types"
  440. LargeIcon="pack://application:,,,/Resources/truck.png"
  441. Click="DeliveryTypesButton_Click" MinWidth="60" />
  442. <fluent:Button x:Name="ConsignmentTypesButton" Header="Consignment Types"
  443. LargeIcon="pack://application:,,,/Resources/service.png"
  444. Click="ConsignmentTypesButton_Click" MinWidth="60" />
  445. </fluent:RibbonGroupBox-->
  446. </fluent:RibbonTabItem>
  447. <fluent:RibbonTabItem x:Name="ProductTab" Header="Product Management" IsSelected="False"
  448. Visibility="Collapsed">
  449. <fluent:RibbonGroupBox x:Name="ProductActions" Width="Auto" Header="Actions"
  450. LauncherClick="ManageModulesClick" IsLauncherVisible="False">
  451. <fluent:Button Header="Refresh"
  452. LargeIcon="pack://application:,,,/Resources/refresh.png"
  453. Click="RefreshMenu_Click" MinWidth="60" />
  454. <syncfusion:RibbonSeparator />
  455. <fluent:Button x:Name="ProductsDashboardButton" Header="Dashboards"
  456. LargeIcon="pack://application:,,,/Resources/kpi.png"
  457. Click="Dashboards_Checked" MinWidth="60" />
  458. <fluent:Button x:Name="ProductsMessagesButton" Size="Large"
  459. Header="Notification Centre"
  460. LargeIcon="pack://application:,,,/Resources/email.png"
  461. Click="Messages_Checked" MinWidth="60" />
  462. <fluent:Button x:Name="ProductsTaskButton" Header="Task List"
  463. LargeIcon="pack://application:,,,/Resources/kanban.png"
  464. Click="Tasks_Checked" MinWidth="60" />
  465. <fluent:Button x:Name="ProductsAttendanceButton" Header="In/Out Board"
  466. LargeIcon="pack://application:,,,/Resources/attendance.png"
  467. Click="Attendance_Checked" MinWidth="60" />
  468. <fluent:Button x:Name="ProductsMapButton" Header="Live Maps"
  469. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  470. MinWidth="60" />
  471. <fluent:Button x:Name="ProductsDailyReportButton" Header="Daily Report"
  472. LargeIcon="pack://application:,,,/Resources/report.png"
  473. Click="DailyReport_Checked" MinWidth="60" />
  474. <syncfusion:RibbonSeparator x:Name="ProductsTaskSeparator" />
  475. <fluent:Button x:Name="ProductsMasterList" Header="Product List"
  476. LargeIcon="pack://application:,,,/Resources/product.png"
  477. Click="Products_Checked" MinWidth="60" />
  478. <fluent:Button x:Name="StockLocationList" Header="Stock Locations"
  479. LargeIcon="pack://application:,,,/Resources/parcel.png"
  480. Click="StockLocations_Checked" MinWidth="60" />
  481. <fluent:Button x:Name="StockMovementList" Header="Stock Movements"
  482. LargeIcon="pack://application:,,,/Resources/forklift.png"
  483. Click="StockMovements_Checked" MinWidth="60" />
  484. <fluent:Button x:Name="StockSummaryButton" Header="Stock Forecast"
  485. LargeIcon="pack://application:,,,/Resources/kpi.png"
  486. Click="StockSummaryButton_Clicked" MinWidth="60" />
  487. <fluent:Button x:Name="ReservationManagementButton" Header="Reservation Management"
  488. LargeIcon="pack://application:,,,/Resources/requisition.png"
  489. Click="ReservationManagementButton_Clicked" MinWidth="60" />
  490. </fluent:RibbonGroupBox>
  491. <fluent:RibbonGroupBox x:Name="ProductReports" Width="Auto" MinWidth="60" Header="Print"
  492. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  493. IsLauncherVisible="False" />
  494. <!--fluent:RibbonGroupBox x:Name="ProductSetup" Width="Auto" Header="Tools"
  495. IsLauncherVisible="False">
  496. <fluent:Button x:Name="ProductDimensionUnitsList" Size="Large"
  497. Header="Units of Measure"
  498. LargeIcon="pack://application:,,,/Resources/unitofmeasure.png"
  499. Click="ProductDimensionUnitsList_Click" MinWidth="60" />
  500. <fluent:Button x:Name="ProductGroupsList" Header="Product Groups"
  501. LargeIcon="pack://application:,,,/Resources/productgroup.png"
  502. Click="ProductGroupsList_Click" MinWidth="60" />
  503. <fluent:Button x:Name="ProductStylesList" Header="Product Styles"
  504. LargeIcon="pack://application:,,,/Resources/palette.png"
  505. Click="ProductStylesList_Click" MinWidth="60" />
  506. <fluent:Button x:Name="StockAreasList" Header="Stock Areas"
  507. LargeIcon="pack://application:,,,/Resources/rack.png"
  508. Click="StockAreasList_Click" MinWidth="60" />
  509. <fluent:Button x:Name="StockWarehouseList" Header="Stock Warehouses"
  510. LargeIcon="pack://application:,,,/Resources/factorysetup.png"
  511. Click="StockWarehouseList_Click" MinWidth="60" />
  512. </fluent:RibbonGroupBox-->
  513. </fluent:RibbonTabItem>
  514. <fluent:RibbonTabItem x:Name="HumanResourcesTab" Header="Human Resources" IsSelected="False"
  515. Visibility="Collapsed">
  516. <fluent:RibbonGroupBox x:Name="HumanResourcesActions" Header="Actions"
  517. LauncherClick="ManageModulesClick" IsLauncherVisible="False">
  518. <fluent:Button Header="Refresh"
  519. LargeIcon="pack://application:,,,/Resources/refresh.png"
  520. Click="RefreshMenu_Click" MinWidth="60" />
  521. <syncfusion:RibbonSeparator />
  522. <fluent:Button x:Name="HumanResourcesDashboardButton" Header="Dashboards"
  523. LargeIcon="pack://application:,,,/Resources/kpi.png"
  524. Click="Dashboards_Checked" MinWidth="60" />
  525. <fluent:Button x:Name="HumanResourcesMessagesButton" Size="Large"
  526. Header="Notification Centre"
  527. LargeIcon="pack://application:,,,/Resources/email.png"
  528. Click="Messages_Checked" MinWidth="60" />
  529. <fluent:Button x:Name="HumanResourcesTaskButton" Header="Task List"
  530. LargeIcon="pack://application:,,,/Resources/kanban.png"
  531. Click="Tasks_Checked" MinWidth="60" />
  532. <fluent:Button x:Name="HumanResourcesAttendanceButton" Size="Large"
  533. Header="In/Out Board"
  534. LargeIcon="pack://application:,,,/Resources/attendance.png"
  535. Click="Attendance_Checked" MinWidth="60" />
  536. <fluent:Button x:Name="HumanResourcesMapButton" Header="Live Maps"
  537. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  538. MinWidth="60" />
  539. <fluent:Button x:Name="HumanResourcesDailyReportButton" Size="Large"
  540. Header="Daily Report"
  541. LargeIcon="pack://application:,,,/Resources/report.png"
  542. Click="DailyReport_Checked" MinWidth="60" />
  543. <syncfusion:RibbonSeparator x:Name="HumanResourcesTaskSeparator" />
  544. <fluent:Button x:Name="CalendarButton" Header="Calendar"
  545. LargeIcon="pack://application:,,,/Resources/assignments.png"
  546. Click="CalendarButton_Click" MinWidth="60" />
  547. <fluent:Button x:Name="EmployeePlannerButton" Header="Employee Planner"
  548. LargeIcon="pack://application:,,,/Resources/calendar.png"
  549. Click="EmployeePlannerButton_Click" MinWidth="60" />
  550. <fluent:Button x:Name="TimesheetsButton" Header="Staff TimeSheets"
  551. LargeIcon="pack://application:,,,/Resources/clock.png"
  552. Click="Timesheets_Checked" MinWidth="60" />
  553. <fluent:Button x:Name="LeaveRequestsButton" Header="Leave Requests"
  554. LargeIcon="pack://application:,,,/Resources/leave.png"
  555. Click="LeaveRequestsButton_Click" MinWidth="60" />
  556. <fluent:Button x:Name="MeetingsButton" Header="Meetings"
  557. LargeIcon="pack://application:,,,/Resources/employees.png"
  558. Click="MeetingsButton_Click" MinWidth="60" />
  559. <syncfusion:RibbonSeparator x:Name="HumanResourcesSetupSeparator1" />
  560. <fluent:Button x:Name="UsersButton" Header="User Accounts"
  561. LargeIcon="pack://application:,,,/Resources/user.png"
  562. Click="UserSetup_Click" MinWidth="60" />
  563. <fluent:Button x:Name="EmployeesButton" Header="Employee List"
  564. LargeIcon="pack://application:,,,/Resources/employee.png"
  565. Click="Employees_Click" MinWidth="60" />
  566. <fluent:Button x:Name="OrgChartButton" Header="Org Chart"
  567. LargeIcon="pack://application:,,,/Resources/orgchart.png"
  568. Click="OrgChartButton_Click" MinWidth="60" />
  569. </fluent:RibbonGroupBox>
  570. <fluent:RibbonGroupBox x:Name="HumanResourcesReports" Width="Auto" MinWidth="60" Header="Print"
  571. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  572. IsLauncherVisible="False" />
  573. <!--fluent:RibbonGroupBox x:Name="HumanResourcesSetup" Width="Auto" Header="Tools"
  574. IsLauncherVisible="False">
  575. <fluent:Button x:Name="SecurityGroupsButton" Header="Security Groups"
  576. LargeIcon="pack://application:,,,/Resources/securitygroup.png"
  577. Click="SecurityGroupsButton_Click" MinWidth="60" />
  578. <fluent:Button x:Name="EmployeeGroupsButton" Header="Employee Groups"
  579. LargeIcon="pack://application:,,,/Resources/employees.png"
  580. Click="GroupsSetup_Click" MinWidth="60" />
  581. <fluent:Button x:Name="EmployeePositionsButton" Header="Positions"
  582. LargeIcon="pack://application:,,,/Resources/position.png"
  583. Click="PositionsSetup_Click" MinWidth="60" />
  584. <fluent:Button x:Name="EmployeeRolesButton" Header="Roles"
  585. LargeIcon="pack://application:,,,/Resources/employeerole.png"
  586. Click="RolesSetup_Click" MinWidth="60" />
  587. <fluent:Button x:Name="EmployeeTeamsButton" Header="Teams"
  588. LargeIcon="pack://application:,,,/Resources/team.png"
  589. Click="EmployeeTeamsButton_Click" MinWidth="60" />
  590. <fluent:Button x:Name="EmployeeActivitiesButton" Header="Activities"
  591. LargeIcon="pack://application:,,,/Resources/quality.png"
  592. Click="ActivityMenu_Click" MinWidth="60" />
  593. <fluent:Button x:Name="EmployeeQualificationsButton" Size="Large"
  594. Header="Qualifications"
  595. LargeIcon="pack://application:,,,/Resources/certificate.png"
  596. Click="QualificationMenu_Click" MinWidth="60" />
  597. <syncfusion:RibbonSeparator x:Name="HumanResourcesSetupSeparator2" />
  598. <fluent:Button x:Name="OvertimeRulesButton" Header="Overtime Rules"
  599. LargeIcon="pack://application:,,,/Resources/overtime.png"
  600. Click="OvertimeRulesButton_Click" MinWidth="60" />
  601. <fluent:Button x:Name="StandardLeaveButton" Header="Standard Leave"
  602. LargeIcon="pack://application:,,,/Resources/fireworks.png"
  603. Click="StandardLeaveButton_Click" MinWidth="60" />
  604. </fluent:RibbonGroupBox-->
  605. </fluent:RibbonTabItem>
  606. <fluent:RibbonTabItem x:Name="AccountsTab" Header="Accounts" IsSelected="False" Visibility="Collapsed">
  607. <fluent:RibbonGroupBox x:Name="AccountsActions" Header="Actions" LauncherClick="ManageModulesClick"
  608. IsLauncherVisible="False">
  609. <fluent:Button Header="Refresh"
  610. LargeIcon="pack://application:,,,/Resources/refresh.png"
  611. Click="RefreshMenu_Click" MinWidth="60" />
  612. <syncfusion:RibbonSeparator />
  613. <fluent:Button x:Name="AccountsDashboardButton" Header="Dashboards"
  614. LargeIcon="pack://application:,,,/Resources/kpi.png"
  615. Click="Dashboards_Checked" MinWidth="60" />
  616. <fluent:Button x:Name="AccountsMessagesButton" Size="Large"
  617. Header="Notification Centre"
  618. LargeIcon="pack://application:,,,/Resources/email.png"
  619. Click="Messages_Checked" MinWidth="60" />
  620. <fluent:Button x:Name="AccountsTaskButton" Header="Task List"
  621. LargeIcon="pack://application:,,,/Resources/kanban.png"
  622. Click="Tasks_Checked" MinWidth="60" />
  623. <fluent:Button x:Name="AccountsDataButton" Header="Data Entry"
  624. LargeIcon="pack://application:,,,/Resources/pencil.png"
  625. Click="DataEntry_Click" MinWidth="60" />
  626. <fluent:Button x:Name="AccountsAttendanceButton" Header="In/Out Board"
  627. LargeIcon="pack://application:,,,/Resources/attendance.png"
  628. Click="Attendance_Checked" MinWidth="60" />
  629. <fluent:Button x:Name="AccountsMapButton" Header="Live Maps"
  630. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  631. MinWidth="60" />
  632. <fluent:Button x:Name="AccountsDailyReportButton" Header="Daily Report"
  633. LargeIcon="pack://application:,,,/Resources/report.png"
  634. Click="DailyReport_Checked" MinWidth="60" />
  635. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator1" />
  636. <fluent:Button x:Name="CustomerList" Header="Customers"
  637. LargeIcon="pack://application:,,,/Resources/customer.png"
  638. Click="CustomerList_Click" MinWidth="60" />
  639. <fluent:Button x:Name="InvoiceList" Header="Invoices"
  640. LargeIcon="pack://application:,,,/Resources/invoice.png"
  641. Click="InvoiceList_Click" MinWidth="60" />
  642. <fluent:Button x:Name="ReceiptList" Header="Receipts"
  643. LargeIcon="pack://application:,,,/Resources/receipt.png"
  644. Click="ReceiptList_Click" MinWidth="60" />
  645. <syncfusion:RibbonSeparator x:Name="AccountsTaskSeparator2" />
  646. <fluent:Button x:Name="SupplierList" Header="Suppliers"
  647. LargeIcon="pack://application:,,,/Resources/supplier.png"
  648. Click="SupplierList_Click" MinWidth="60" />
  649. <fluent:Button x:Name="PurchasesList" Header="Purchase Orders"
  650. LargeIcon="pack://application:,,,/Resources/purchase.png"
  651. Click="PurchasesList_Click" MinWidth="60" />
  652. <fluent:Button x:Name="BillsList" Header="Bills"
  653. LargeIcon="pack://application:,,,/Resources/bill.png"
  654. Click="BillsList_Click" MinWidth="60" />
  655. <fluent:Button x:Name="PaymentsList" Header="Payments"
  656. LargeIcon="pack://application:,,,/Resources/payment.png"
  657. Click="PaymentsList_Click" MinWidth="60" />
  658. </fluent:RibbonGroupBox>
  659. <fluent:RibbonGroupBox x:Name="AccountsReports" Width="Auto" MinWidth="60" Header="Print"
  660. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  661. IsLauncherVisible="False" />
  662. <!--fluent:RibbonGroupBox x:Name="AccountsSetup" Width="Auto" Header="Tools"
  663. IsLauncherVisible="False">
  664. <fluent:Button x:Name="ContactTypeList" Header="Contact Types"
  665. LargeIcon="pack://application:,,,/Resources/contacttype.png"
  666. Click="ContactTypeList_Click" MinWidth="60" />
  667. <fluent:Button x:Name="TaxCodeList" Header="Tax Codes"
  668. LargeIcon="pack://application:,,,/Resources/taxcode.png"
  669. Click="TaxCodeList_Click" MinWidth="60" />
  670. <fluent:Button x:Name="ReceiptTypeList" Header="Receipt Types"
  671. LargeIcon="pack://application:,,,/Resources/receipt.png"
  672. Click="ReceiptTypeList_Click" MinWidth="60" />
  673. <fluent:Button x:Name="PaymentTypeList" Header="Payment Types"
  674. LargeIcon="pack://application:,,,/Resources/payment.png"
  675. Click="PaymentTypeList_Click" MinWidth="60" />
  676. <fluent:Button x:Name="CostCentresList" Header="Cost Centres"
  677. LargeIcon="pack://application:,,,/Resources/costcentre.png"
  678. Click="CostCentresList_Click" MinWidth="60" />
  679. <fluent:Button x:Name="GLCodesList" Header="GL Codes"
  680. LargeIcon="pack://application:,,,/Resources/glcode.png"
  681. Click="GLCodesList_Click" MinWidth="60" />
  682. <fluent:Button x:Name="PurchaseOrderCategoriesList" Size="Large"
  683. Header="Purchase Order Categories"
  684. LargeIcon="pack://application:,,,/Resources/service.png"
  685. Click="PurchaseOrderCategoriesButton_Click" MinWidth="60" />
  686. </fluent:RibbonGroupBox-->
  687. </fluent:RibbonTabItem>
  688. <fluent:RibbonTabItem x:Name="EquipmentTab" Header="Equipment" IsSelected="True" Visibility="Collapsed">
  689. <fluent:RibbonGroupBox x:Name="EquipmentActions" Width="Auto" Header="Actions"
  690. LauncherClick="ManageModulesClick" IsLauncherVisible="False">
  691. <fluent:Button Header="Refresh"
  692. LargeIcon="pack://application:,,,/Resources/refresh.png"
  693. Click="RefreshMenu_Click" MinWidth="60" />
  694. <syncfusion:RibbonSeparator />
  695. <fluent:Button x:Name="EquipmentDashboardButton" Header="Dashboards"
  696. LargeIcon="pack://application:,,,/Resources/kpi.png"
  697. Click="Dashboards_Checked" MinWidth="60" />
  698. <fluent:Button x:Name="EquipmentMessagesButton" Size="Large"
  699. Header="Notification Centre"
  700. LargeIcon="pack://application:,,,/Resources/email.png"
  701. Click="Messages_Checked" MinWidth="60" />
  702. <fluent:Button x:Name="EquipmentTaskButton" Header="Task List"
  703. LargeIcon="pack://application:,,,/Resources/kanban.png"
  704. Click="Tasks_Checked" MinWidth="60" />
  705. <fluent:Button x:Name="EquipmentAttendanceButton" Header="In/Out Board"
  706. LargeIcon="pack://application:,,,/Resources/attendance.png"
  707. Click="Attendance_Checked" MinWidth="60" />
  708. <fluent:Button x:Name="EquipmentMapButton" Header="Live Maps"
  709. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  710. MinWidth="60" />
  711. <fluent:Button x:Name="EquipmentDailyReportButton" Header="Daily Report"
  712. LargeIcon="pack://application:,,,/Resources/report.png"
  713. Click="DailyReport_Checked" MinWidth="60" />
  714. <syncfusion:RibbonSeparator x:Name="EquipmentTaskSeparator" />
  715. <fluent:Button x:Name="EquipmentButton" Header="Equipment List"
  716. LargeIcon="pack://application:,,,/Resources/specifications.png"
  717. Click="Equipment_Checked" MinWidth="60" />
  718. <fluent:Button x:Name="TrackersMasterList" Header="GPS Trackers"
  719. LargeIcon="pack://application:,,,/Resources/milestone.png"
  720. Click="Trackers_Click" MinWidth="60" />
  721. </fluent:RibbonGroupBox>
  722. <fluent:RibbonGroupBox x:Name="EquipmentReports" Width="Auto" MinWidth="60" Header="Print"
  723. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  724. IsLauncherVisible="False" />
  725. <!--fluent:RibbonGroupBox x:Name="EquipmentSetup" Width="Auto" Header="Tools"
  726. IsLauncherVisible="False">
  727. <fluent:Button x:Name="TrackerTypesMasterList" Header="Tracker Types"
  728. LargeIcon="pack://application:,,,/Resources/milestone.png"
  729. Click="TrackerTypes_Click" MinWidth="60" />
  730. <fluent:Button x:Name="StickersMasterList" Header="Stickers"
  731. LargeIcon="pack://application:,,,/Resources/barcode.png"
  732. Click="Stickers_Click" MinWidth="60" />
  733. <fluent:Button x:Name="DigitalKeysMasterList" Header="Digital Keys"
  734. LargeIcon="pack://application:,,,/Resources/key.png"
  735. Click="DigitalKeys_Click" MinWidth="60" />
  736. <fluent:Button x:Name="EquipmentGroupList" Header="Equipment Groups"
  737. LargeIcon="pack://application:,,,/Resources/specifications.png"
  738. Click="EquipmentGroupList_Click" MinWidth="60" />
  739. </fluent:RibbonGroupBox-->
  740. </fluent:RibbonTabItem>
  741. <fluent:RibbonTabItem x:Name="DashboardsTab" Header="Dashboards" IsSelected="False" Visibility="Collapsed">
  742. <fluent:RibbonGroupBox x:Name="DashboardsActions" Header="Actions" LauncherClick="ManageModulesClick"
  743. IsLauncherVisible="False">
  744. <fluent:Button Header="Refresh"
  745. LargeIcon="pack://application:,,,/Resources/refresh.png"
  746. Click="RefreshMenu_Click" MinWidth="60" />
  747. <syncfusion:RibbonSeparator />
  748. <fluent:Button x:Name="DashboardsDashboardButton" Header="Dashboards"
  749. LargeIcon="pack://application:,,,/Resources/kpi.png"
  750. Click="Dashboards_Checked" MinWidth="60" />
  751. <fluent:Button x:Name="DashboardMessagesButton" Size="Large"
  752. Header="Notification Centre"
  753. LargeIcon="pack://application:,,,/Resources/email.png"
  754. Click="Messages_Checked" MinWidth="60" />
  755. <fluent:Button x:Name="DashboardsTaskButton" Header="Task List"
  756. LargeIcon="pack://application:,,,/Resources/kanban.png"
  757. Click="Tasks_Checked" MinWidth="60" />
  758. <fluent:Button x:Name="DashboardsAttendanceButton" Header="In/Out Board"
  759. LargeIcon="pack://application:,,,/Resources/attendance.png"
  760. Click="Attendance_Checked" MinWidth="60" />
  761. <fluent:Button x:Name="DashboardsMapButton" Header="Live Maps"
  762. LargeIcon="pack://application:,,,/Resources/map.png" Click="Maps_Checked"
  763. MinWidth="60" />
  764. <fluent:Button x:Name="DashboardsDailyReportButton" Header="Daily Report"
  765. LargeIcon="pack://application:,,,/Resources/report.png"
  766. Click="DailyReport_Checked" MinWidth="60" />
  767. <syncfusion:RibbonSeparator x:Name="DashboardsTaskSeparator" />
  768. <!--This is where the static dashboards need to go-->
  769. <fluent:Button x:Name="FactoryProductivityButton" Header="Factory KPIs"
  770. LargeIcon="pack://application:,,,/Resources/kpi.png"
  771. Click="FactoryProductivityButton_Click" MinWidth="60" />
  772. <fluent:Button x:Name="TemplateAnalysisButton" Header="Template Analysis"
  773. LargeIcon="pack://application:,,,/Resources/kpi.png"
  774. Click="TemplateAnalysisButton_Click" MinWidth="60" />
  775. <fluent:Button x:Name="FactoryAnalysisButton" Header="Factory Analysis"
  776. LargeIcon="pack://application:,,,/Resources/kpi.png"
  777. Click="FactoryAnalysisButton_Click" MinWidth="60" />
  778. <fluent:Button x:Name="DatabaseActivityButton" Header="Database Activity"
  779. LargeIcon="pack://application:,,,/Resources/kpi.png"
  780. Click="DatabaseActivityButton_Click" MinWidth="60" />
  781. <fluent:Button x:Name="UserActivityButton" Header="User Activity"
  782. LargeIcon="pack://application:,,,/Resources/kpi.png"
  783. Click="UserActivityButton_Click" MinWidth="60" />
  784. <fluent:Button x:Name="DigitalFormsButton" Header="Digital Forms"
  785. LargeIcon="pack://application:,,,/Resources/kpi.png"
  786. Click="DigitalFormsButton_Click" MinWidth="60" />
  787. <fluent:Button x:Name="QuickStatusButton" Header="Quick Status"
  788. LargeIcon="pack://application:,,,/Resources/kpi.png"
  789. Click="QuickStatus_Click" MinWidth="60" />
  790. </fluent:RibbonGroupBox>
  791. <fluent:RibbonGroupBox x:Name="DashboardsReports" Width="Auto" MinWidth="60" Header="Print"
  792. LauncherClick="ManageReportsMenu_Click" Visibility="Collapsed"
  793. IsLauncherVisible="False" />
  794. </fluent:RibbonTabItem>
  795. </fluent:Ribbon>
  796. <Grid Grid.Row="0" Grid.Column="1">
  797. <Grid.ColumnDefinitions>
  798. <ColumnDefinition Width="*" />
  799. <ColumnDefinition Width="*" />
  800. <ColumnDefinition Width="*" />
  801. </Grid.ColumnDefinitions>
  802. <Grid.RowDefinitions>
  803. <RowDefinition Height="30" />
  804. <RowDefinition Height="*" />
  805. </Grid.RowDefinitions>
  806. <fluent:Button
  807. x:Name="SendNotification"
  808. Header="Send Notification"
  809. BorderBrush="Gray"
  810. BorderThickness="0.75"
  811. Margin="0,0,5,0"
  812. Background="WhiteSmoke"
  813. Grid.Row="0"
  814. Grid.Column="2"
  815. Size="Middle"
  816. Icon="Resources/team.png"
  817. HorizontalAlignment="Stretch"
  818. Height="25"
  819. Click="SendNotificationClick" />
  820. <fluent:Button Grid.Row="1" Grid.Column="0"
  821. Header="Setup"
  822. LargeIcon="Resources/view.png"
  823. Click="Setup_Click"
  824. Margin="0,0,5,20"/>
  825. <fluent:Button Grid.Row="1" Grid.Column="1"
  826. Header="Forms"
  827. LargeIcon="Resources/contract.png"
  828. Click="Forms_Click"
  829. Margin="0,0,5,20"/>
  830. <Border Grid.Row="1" Grid.Column="2"
  831. BorderBrush="Silver" BorderThickness="0,0.75,0.75,0.75" Padding="0,0,5,20">
  832. <StackPanel Orientation="Horizontal">
  833. <fluent:Button
  834. Header="Online Help"
  835. LargeIcon="Resources/help.png"
  836. Click="Wiki_Click" />
  837. <fluent:Button
  838. x:Name="EquipmentTechnicalLibrary"
  839. Header="Technical Library"
  840. LargeIcon="Resources/doc-pdf.png"
  841. Click="Library_Click" />
  842. </StackPanel>
  843. </Border>
  844. </Grid>
  845. <DockingManager x:Name="DockingManager"
  846. Grid.Row="1"
  847. Grid.Column="0"
  848. Grid.ColumnSpan="2"
  849. AllowMixedOrientation="True"
  850. AutoWindowSizeWhenOpened="True"
  851. IsVirtualizingAnchorable="True"
  852. IsVirtualizingDocument="True"
  853. Margin="-4,-4,-4,0" Padding="0" BorderBrush="Silver" BorderThickness="0,0.75,0,0">
  854. <DockingManager.Theme>
  855. <MetroTheme />
  856. </DockingManager.Theme>
  857. <DockingManager.Resources>
  858. <!-- DockingManager.Background, LayoutDocumentFloatingWindowControl.Header.Foreground-->
  859. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor1"
  860. Color="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundColor)}" />
  861. <!-- AnchorablePaneTitle.DropDownControlArea.Foreground, LayoutAnchorControl.Foreground, LayoutAnchorableFloatingWindowControl.Foreground-->
  862. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor2"
  863. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  864. <!-- TabItem.IsActive.Border, AnchorablePaneTitle.IsActive.Border LayoutAnchorControl.IsActive.Border -->
  865. <!-- LayoutDocumentFolatingWindowControl.IsActive.Border -->
  866. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor3"
  867. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  868. <!-- TabItem.Hover.Border, LayoutAnchorControl.Hover.Border -->
  869. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor4"
  870. Color="{Binding Path=(themes:ThemeManager.SelectedTabItemBackgroundColor)}" />
  871. <!-- TabItem.IsSelected.Border, TabItem.IsActive.ForeGround, TabItem.Hover.Foreground, LayoutFloatingWindowControl.Background -->
  872. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor5"
  873. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  874. <!-- FloatingWindowControl.Border, LayoutAnchorableFloatingWindowControl.Border -->
  875. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor6"
  876. Color="{Binding Path=(themes:ThemeManager.WorkspaceForegroundColor)}" />
  877. <!-- LayoutGridResizerControl.Background, NavigatorWindow.Background -->
  878. <SolidColorBrush x:Key="AvalonDock_ThemeMetro_BaseColor7" Color="#EEEEEE" />
  879. </DockingManager.Resources>
  880. <LayoutRoot>
  881. <LayoutPanel Orientation="Horizontal">
  882. <LayoutDocumentPaneGroup>
  883. <LayoutDocumentPane x:Name="LayoutDocumentPane" ShowHeader="False">
  884. <LayoutDocument Title="Document 1" ContentId="document1">
  885. <Grid x:Name="DockingGrid">
  886. <Grid.RowDefinitions>
  887. <RowDefinition Height="*" />
  888. </Grid.RowDefinitions>
  889. <Grid.ColumnDefinitions>
  890. <ColumnDefinition Width="*" />
  891. <ColumnDefinition Width="0" />
  892. <ColumnDefinition Width="0" />
  893. </Grid.ColumnDefinitions>
  894. <ContentControl x:Name="ContentControl" HorizontalAlignment="Stretch"
  895. VerticalAlignment="Stretch"
  896. Grid.Column="0" Grid.Row="0" Margin="0,-4,2,-4" />
  897. <syncfusion:SfGridSplitter Grid.Row="0" Grid.Column="1"
  898. ResizeBehavior="PreviousAndNext"
  899. Background="Transparent"
  900. Template="{StaticResource VerticalSplitter}">
  901. <syncfusion:SfGridSplitter.PreviewStyle>
  902. <Style TargetType="Control">
  903. <Setter Property="Background" Value="Gray" />
  904. <Setter Property="Template">
  905. <Setter.Value>
  906. <ControlTemplate TargetType="Control">
  907. <Grid x:Name="Root" Opacity="0.5">
  908. <Rectangle Fill="{TemplateBinding Background}" />
  909. </Grid>
  910. </ControlTemplate>
  911. </Setter.Value>
  912. </Setter>
  913. </Style>
  914. </syncfusion:SfGridSplitter.PreviewStyle>
  915. </syncfusion:SfGridSplitter>
  916. <local:NotificationsDock
  917. x:Name="Notifications"
  918. Grid.Row="0"
  919. Grid.Column="2"
  920. Changed="Notifications_Changed"
  921. Margin="0,-4,0,-4" />
  922. </Grid>
  923. </LayoutDocument>
  924. </LayoutDocumentPane>
  925. </LayoutDocumentPaneGroup>
  926. </LayoutPanel>
  927. <LayoutRoot.LeftSide>
  928. <LayoutAnchorSide>
  929. <LayoutAnchorGroup x:Name="DockGroup">
  930. <LayoutAnchorable
  931. x:Name="ContactDock"
  932. Title="Address Book"
  933. ContentId="contacts"
  934. CanClose="False"
  935. CanFloat="False"
  936. CanHide="False"
  937. CanAutoHide="False"
  938. CanDockAsTabbedDocument="False"
  939. CanMove="False"
  940. AutoHideWidth="500"
  941. FloatingWidth="500"
  942. AutoHideMinWidth="400"
  943. IsActiveChanged="DockPanel_OnIsActiveChanged">
  944. <Border BorderThickness="0.75" BorderBrush="Gray">
  945. <local:ContactDock x:Name="Contacts" />
  946. </Border>
  947. </LayoutAnchorable>
  948. <LayoutAnchorable
  949. x:Name="JobDock"
  950. Title="Projects"
  951. ContentId="projects"
  952. CanClose="False"
  953. CanFloat="False"
  954. CanHide="False"
  955. CanAutoHide="False"
  956. CanDockAsTabbedDocument="False"
  957. CanMove="False"
  958. AutoHideWidth="500"
  959. FloatingWidth="500"
  960. AutoHideMinWidth="400"
  961. IsActiveChanged="DockPanel_OnIsActiveChanged">
  962. <Border BorderThickness="0.75" BorderBrush="Gray">
  963. <local:JobDock x:Name="Jobs" />
  964. </Border>
  965. </LayoutAnchorable>
  966. <LayoutAnchorable
  967. x:Name="ConsignmentDock"
  968. Title="Consignments"
  969. ContentId="consignments"
  970. CanClose="False"
  971. CanFloat="False"
  972. CanHide="False"
  973. CanAutoHide="True"
  974. CanDockAsTabbedDocument="False"
  975. AutoHideWidth="500"
  976. FloatingWidth="500"
  977. AutoHideMinWidth="400"
  978. IsActiveChanged="DockPanel_OnIsActiveChanged">
  979. <Border BorderThickness="0.75" BorderBrush="Gray">
  980. <local:ConsignmentDock x:Name="Consignments" />
  981. </Border>
  982. </LayoutAnchorable>
  983. <LayoutAnchorable
  984. x:Name="DeliveryDock"
  985. Title="Deliveries"
  986. ContentId="deliveries"
  987. CanClose="False"
  988. CanFloat="False"
  989. CanHide="False"
  990. CanAutoHide="True"
  991. CanDockAsTabbedDocument="False"
  992. AutoHideWidth="500"
  993. FloatingWidth="500"
  994. AutoHideMinWidth="400"
  995. IsActiveChanged="DockPanel_OnIsActiveChanged">
  996. <Border BorderThickness="0.75" BorderBrush="Gray">
  997. <local:DeliveryDock x:Name="Deliveries" />
  998. </Border>
  999. </LayoutAnchorable>
  1000. <LayoutAnchorable
  1001. x:Name="ProductLookupDock"
  1002. Title="Products"
  1003. ContentId="products"
  1004. CanClose="False"
  1005. CanFloat="False"
  1006. CanHide="False"
  1007. CanAutoHide="True"
  1008. CanDockAsTabbedDocument="False"
  1009. AutoHideWidth="500"
  1010. FloatingWidth="500"
  1011. AutoHideMinWidth="400"
  1012. IsActiveChanged="DockPanel_OnIsActiveChanged">
  1013. <Border BorderThickness="0.75" BorderBrush="Gray">
  1014. <local:ProductLookupDock x:Name="ProductLookup" />
  1015. </Border>
  1016. </LayoutAnchorable>
  1017. <LayoutAnchorable
  1018. x:Name="DigitalFormsDock"
  1019. Title="Digital Forms"
  1020. ContentId="digitalforms"
  1021. CanClose="False"
  1022. CanFloat="False"
  1023. CanHide="False"
  1024. CanAutoHide="True"
  1025. CanDockAsTabbedDocument="False"
  1026. AutoHideWidth="500"
  1027. FloatingWidth="500"
  1028. AutoHideMinWidth="400"
  1029. IsActiveChanged="DockPanel_OnIsActiveChanged">
  1030. <Border BorderThickness="0.75" BorderBrush="Gray">
  1031. <local:DigitalFormsDock x:Name="DigitalForms" />
  1032. </Border>
  1033. </LayoutAnchorable>
  1034. <LayoutAnchorable
  1035. x:Name="ScansDock"
  1036. Title="Scans"
  1037. ContentId="scans"
  1038. CanClose="False"
  1039. CanFloat="False"
  1040. CanHide="False"
  1041. CanAutoHide="True"
  1042. CanDockAsTabbedDocument="False"
  1043. AutoHideWidth="500"
  1044. FloatingWidth="500"
  1045. AutoHideMinWidth="400"
  1046. IsActiveChanged="DockPanel_OnIsActiveChanged">
  1047. <Border BorderThickness="0.75" BorderBrush="Gray">
  1048. <local:ScanPanel x:Name="Scans" />
  1049. </Border>
  1050. </LayoutAnchorable>
  1051. </LayoutAnchorGroup>
  1052. </LayoutAnchorSide>
  1053. </LayoutRoot.LeftSide>
  1054. </LayoutRoot>
  1055. </DockingManager>
  1056. <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="0"
  1057. Background="DimGray">
  1058. <Grid>
  1059. <Grid.ColumnDefinitions>
  1060. <ColumnDefinition Width="Auto" />
  1061. <ColumnDefinition Width="*" />
  1062. <ColumnDefinition Width="Auto" />
  1063. <ColumnDefinition Width="Auto" />
  1064. <ColumnDefinition Width="Auto" />
  1065. <ColumnDefinition Width="Auto" />
  1066. <ColumnDefinition Width="Auto" />
  1067. <ColumnDefinition Width="Auto" />
  1068. <ColumnDefinition Width="100" />
  1069. <ColumnDefinition Width="Auto" />
  1070. </Grid.ColumnDefinitions>
  1071. <Label Grid.Column="0" x:Name="ProfileName" Content="" HorizontalContentAlignment="Center"
  1072. VerticalContentAlignment="Center" Foreground="WhiteSmoke" Padding="20,0,20,0" />
  1073. <Label Grid.Column="1" x:Name="URL" Content="" VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1074. <DockPanel x:Name="TaskTracking" Grid.Column="2" Margin="0,0,50,0">
  1075. <Button DockPanel.Dock="Right" BorderBrush="Transparent" Background="Transparent"
  1076. Click="SelectTask_Click" Width="25">
  1077. <Image x:Name="SelectTask" Source="Resources/uparrow.png" />
  1078. </Button>
  1079. <Label x:Name="SelectedTaskName" DockPanel.Dock="Left" VerticalContentAlignment="Center"
  1080. Content="(No Task Selected)" Foreground="WhiteSmoke" />
  1081. </DockPanel>
  1082. <Button Grid.Column="3" x:Name="VideoRecordingButton" BorderThickness="0" Background="Transparent"
  1083. Click="VideoRecordingButton_Click">
  1084. <Image x:Name="VideoRecordingStatus"
  1085. Source="pack://application:,,,/Resources/videorecording.png"
  1086. Height="24" Margin="2" />
  1087. </Button>
  1088. <Button Grid.Column="4" x:Name="RecordingNotesButton" BorderThickness="0" Background="Transparent"
  1089. Click="RecordingNotesButton_Click" Visibility="Hidden">
  1090. <Image x:Name="RecordingNotesStatus" Source="pack://application:,,,/Resources/speechbubble.png"
  1091. Height="24" Margin="2" />
  1092. </Button>
  1093. <Button Grid.Column="5" x:Name="AudioRecordingButton" BorderThickness="0" Background="Transparent"
  1094. Click="AudioRecordingButton_Click" Visibility="Hidden">
  1095. <Image x:Name="AudioRecordingStatus"
  1096. Source="pack://application:,,,/Resources/audiorecording.png"
  1097. Height="24" Margin="2" />
  1098. </Button>
  1099. <Button Grid.Column="6" x:Name="SecondaryWindowButton" BorderThickness="0" Background="Transparent"
  1100. Click="SecondaryWindow_Click" Visibility="Visible">
  1101. <Image x:Name="SecondaryWindowStatus" Source="pack://application:,,,/Resources/target.png"
  1102. Height="24" Margin="2" />
  1103. </Button>
  1104. <Button Grid.Column="7" x:Name="ConsoleButton" BorderThickness="0" Background="Transparent"
  1105. Click="Console_Click" Visibility="Visible">
  1106. <Image x:Name="ConsoleStatus" Source="pack://application:,,,/Resources/view.png" Height="24"
  1107. Margin="2" />
  1108. </Button>
  1109. <Label Grid.Column="8" x:Name="UserID" Content="" HorizontalContentAlignment="Center"
  1110. VerticalContentAlignment="Center" Foreground="WhiteSmoke" />
  1111. <Label Grid.Column="9" x:Name="PasswordExpiryNotice" Content="" HorizontalContentAlignment="Center"
  1112. VerticalContentAlignment="Center" Background="Firebrick" Foreground="Yellow"
  1113. Visibility="Collapsed" />
  1114. </Grid>
  1115. </Border>
  1116. </Grid>
  1117. </fluent:RibbonWindow>