MainWindow.xaml 79 KB

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