MainWindow.xaml 79 KB

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