MainWindow.xaml 77 KB

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