コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Restaurant.ProductsUserControl)(target));
     return;
     case 2:
     this.ContentGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.btnNew = ((System.Windows.Controls.Button)(target));
     
     #line 21 "..\..\..\UserControls\ProductsUserControl.xaml"
     this.btnNew.Click += new System.Windows.RoutedEventHandler(this.btnNew_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnEdit = ((System.Windows.Controls.Button)(target));
     
     #line 23 "..\..\..\UserControls\ProductsUserControl.xaml"
     this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.btnEdit_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnDelete = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\..\UserControls\ProductsUserControl.xaml"
     this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.BorderAddEdit = ((System.Windows.Controls.Border)(target));
     return;
     case 7:
     this.txbBorderTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.txbProductName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.txbUnit = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.txbGroup = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.txbPrice = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.txbProductCode = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.txtProductName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.cmbUnit = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 15:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\..\UserControls\ProductsUserControl.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 61 "..\..\..\UserControls\ProductsUserControl.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.txtPrice = ((System.Windows.Controls.TextBox)(target));
     
     #line 63 "..\..\..\UserControls\ProductsUserControl.xaml"
     this.txtPrice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPrice_TextChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.txtProductCode = ((System.Windows.Controls.TextBox)(target));
     return;
     case 19:
     this.cmbGroup = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 20:
     this.ProductsGridView = ((Restaurant.SortableListView)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((Restaurant.OrderDetailInKitchenWindow)(target));
     
     #line 8 "..\..\OrderDetailInKitchenWindow.xaml"
     this.Window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 8 "..\..\OrderDetailInKitchenWindow.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 8 "..\..\OrderDetailInKitchenWindow.xaml"
     this.Window.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 3:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.rectOuter = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.rectInner = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 6:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.txbWindowTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.borderOrderNo = ((System.Windows.Controls.Border)(target));
     return;
     case 10:
     this.txbOrderNo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.borderTableNo = ((System.Windows.Controls.Border)(target));
     return;
     case 12:
     this.txbTableNo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 14:
     this.borderOrder = ((System.Windows.Controls.Border)(target));
     return;
     case 15:
     this.OrderGridView = ((Restaurant.SortableListView)(target));
     return;
     case 16:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     return;
     case 17:
     this.btnPrint = ((System.Windows.Controls.Button)(target));
     
     #line 121 "..\..\OrderDetailInKitchenWindow.xaml"
     this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btnReadyToServe = ((System.Windows.Controls.Button)(target));
     
     #line 124 "..\..\OrderDetailInKitchenWindow.xaml"
     this.btnReadyToServe.Click += new System.Windows.RoutedEventHandler(this.btnReadyToServe_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((Restaurant.TablesWindow)(target));
     
     #line 12 "..\..\TablesWindow.xaml"
     this.Window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 37 "..\..\TablesWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 3:
     this.ContentGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.btnNewTable = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\TablesWindow.xaml"
     this.btnNewTable.Click += new System.Windows.RoutedEventHandler(this.btnNewTable_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnEdit = ((System.Windows.Controls.Button)(target));
     
     #line 50 "..\..\TablesWindow.xaml"
     this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.btnEdit_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnDelete = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\TablesWindow.xaml"
     this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.txbBorderTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.BorderAddEdit = ((System.Windows.Controls.Border)(target));
     return;
     case 9:
     this.txbTableNo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.txbCapacity = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.txbDescription = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.txtTableNo = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.txtCapacity = ((System.Windows.Controls.TextBox)(target));
     
     #line 73 "..\..\TablesWindow.xaml"
     this.txtCapacity.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtCapacity_TextChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.PersonHead = ((System.Windows.Shapes.Path)(target));
     return;
     case 15:
     this.PersonBody = ((System.Windows.Shapes.Path)(target));
     return;
     case 16:
     this.txtDescription = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 82 "..\..\TablesWindow.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 83 "..\..\TablesWindow.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.TablesGridView = ((Restaurant.SortableListView)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((Restaurant.OrderDetailInCashierWindow)(target));
     
     #line 8 "..\..\OrderDetailInCashierWindow.xaml"
     this.Window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 8 "..\..\OrderDetailInCashierWindow.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 8 "..\..\OrderDetailInCashierWindow.xaml"
     this.Window.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.rectOuter = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 4:
     this.rectInner = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.txbTableNoHeader = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.txbOrderNoHeader = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.txbWindowTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.borderOrderNo = ((System.Windows.Controls.Border)(target));
     
     #line 317 "..\..\OrderDetailInCashierWindow.xaml"
     this.borderOrderNo.MouseEnter += new System.Windows.Input.MouseEventHandler(this.borderOrderNo_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 9:
     this.txbOrderNo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.borderTableNo = ((System.Windows.Controls.Border)(target));
     return;
     case 11:
     this.txbTableNo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.leftBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 14:
     this.expanderCheckOut = ((System.Windows.Controls.Expander)(target));
     return;
     case 15:
     this.ExpanderContent = ((System.Windows.Controls.Border)(target));
     return;
     case 16:
     this.txbTotalPrice = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.txbCustomerName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     this.btnCheckOut = ((System.Windows.Controls.Button)(target));
     
     #line 337 "..\..\OrderDetailInCashierWindow.xaml"
     this.btnCheckOut.Click += new System.Windows.RoutedEventHandler(this.btnCheckOut_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.expanderCancelOrder = ((System.Windows.Controls.Expander)(target));
     return;
     case 20:
     this.ExpanderContent_Copy = ((System.Windows.Controls.Border)(target));
     return;
     case 21:
     this.txbCancelReason = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.btnCancelOrder = ((System.Windows.Controls.Button)(target));
     
     #line 346 "..\..\OrderDetailInCashierWindow.xaml"
     this.btnCancelOrder.Click += new System.Windows.RoutedEventHandler(this.btnCancelOrder_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.borderOrder = ((System.Windows.Controls.Border)(target));
     return;
     case 24:
     this.OrderGridView = ((Restaurant.SortableListView)(target));
     return;
     case 25:
     this.btnClose = ((System.Windows.Controls.Button)(target));
     return;
     case 26:
     this.btnPrint = ((System.Windows.Controls.Button)(target));
     
     #line 394 "..\..\OrderDetailInCashierWindow.xaml"
     this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.PopUpSelectOrder = ((System.Windows.Controls.Primitives.Popup)(target));
     
     #line 395 "..\..\OrderDetailInCashierWindow.xaml"
     this.PopUpSelectOrder.MouseLeave += new System.Windows.Input.MouseEventHandler(this.PopUpSelectOrder_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 28:
     this.cmbOrderNo = ((System.Windows.Controls.ComboBox)(target));
     
     #line 398 "..\..\OrderDetailInCashierWindow.xaml"
     this.cmbOrderNo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbOrderNo_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 29:
     this.gridLocker = ((System.Windows.Controls.Grid)(target));
     return;
     case 30:
     this.txbLockerHeader = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.txbLocker = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\UserControls\KitchenOrdersListUserControl.xaml"
     ((Restaurant.KitchenOrdersListUserControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 4:
     this.FilterTextBox = ((Restaurant.FilterTextUserControl)(target));
     return;
     case 5:
     this.btnRefresh = ((System.Windows.Controls.Button)(target));
     
     #line 68 "..\..\..\UserControls\KitchenOrdersListUserControl.xaml"
     this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.OrdersGridView = ((Restaurant.SortableListView)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((Restaurant.NewOrderWindow)(target));
     
     #line 9 "..\..\NewOrderWindow.xaml"
     this.Window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 14 "..\..\NewOrderWindow.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 15 "..\..\NewOrderWindow.xaml"
     this.Window.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 3:
     this.StoryboardProductsHide_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.StoryboardProductsShow_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.rectOuter = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 7:
     this.rectInner = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 8:
     this.txbWindowTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.borderOrderNo = ((System.Windows.Controls.Border)(target));
     return;
     case 12:
     this.txbOrderNo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.borderTableNo = ((System.Windows.Controls.Border)(target));
     
     #line 147 "..\..\NewOrderWindow.xaml"
     this.borderTableNo.MouseEnter += new System.Windows.Input.MouseEventHandler(this.borderTableNo_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 14:
     this.txbTableNo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.border = ((System.Windows.Controls.Border)(target));
     return;
     case 17:
     this.cmbGroups = ((System.Windows.Controls.ComboBox)(target));
     
     #line 165 "..\..\NewOrderWindow.xaml"
     this.cmbGroups.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbGroups_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.txtItem = ((System.Windows.Controls.TextBox)(target));
     
     #line 167 "..\..\NewOrderWindow.xaml"
     this.txtItem.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.ProductsGridView = ((Restaurant.SortableListView)(target));
     return;
     case 20:
     this.btnAddToOrder = ((System.Windows.Controls.Button)(target));
     
     #line 187 "..\..\NewOrderWindow.xaml"
     this.btnAddToOrder.Click += new System.Windows.RoutedEventHandler(this.btnAddToOrder_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.btnHide = ((System.Windows.Controls.Button)(target));
     return;
     case 22:
     this.btnShow = ((System.Windows.Controls.Button)(target));
     return;
     case 23:
     this.borderOrder = ((System.Windows.Controls.Border)(target));
     return;
     case 24:
     this.OrderGridView = ((Restaurant.SortableListView)(target));
     return;
     case 25:
     this.btnRemoveItem = ((System.Windows.Controls.Button)(target));
     
     #line 213 "..\..\NewOrderWindow.xaml"
     this.btnRemoveItem.Click += new System.Windows.RoutedEventHandler(this.btnRemoveItem_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     return;
     case 27:
     this.btnSaveOrder = ((System.Windows.Controls.Button)(target));
     
     #line 218 "..\..\NewOrderWindow.xaml"
     this.btnSaveOrder.Click += new System.Windows.RoutedEventHandler(this.btnSaveOrder_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.PopUpSelectTable = ((System.Windows.Controls.Primitives.Popup)(target));
     
     #line 219 "..\..\NewOrderWindow.xaml"
     this.PopUpSelectTable.MouseLeave += new System.Windows.Input.MouseEventHandler(this.PopUpSelectTable_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 29:
     this.cmbTableNo = ((System.Windows.Controls.ComboBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #7
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((Restaurant.SellReportWindow)(target));
     
     #line 4 "..\..\SellReportWindow.xaml"
     this.window.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 58 "..\..\SellReportWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 3:
     this.datePickerFromDate = ((Microsoft.Windows.Controls.DatePicker)(target));
     return;
     case 4:
     this.datePickerToDate = ((Microsoft.Windows.Controls.DatePicker)(target));
     return;
     case 5:
     this.btnShowResult = ((System.Windows.Controls.Button)(target));
     
     #line 70 "..\..\SellReportWindow.xaml"
     this.btnShowResult.Click += new System.Windows.RoutedEventHandler(this.btnShowResult_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.ResultGridView = ((Restaurant.SortableListView)(target));
     return;
     case 7:
     this.btnPrint = ((System.Windows.Controls.Button)(target));
     
     #line 92 "..\..\SellReportWindow.xaml"
     this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #8
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\..\UserControls\ProductAvailabilityUserControl.xaml"
     ((Restaurant.ProductAvailabilityUserControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 3:
     this.cmbGroups = ((System.Windows.Controls.ComboBox)(target));
     
     #line 32 "..\..\..\UserControls\ProductAvailabilityUserControl.xaml"
     this.cmbGroups.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbGroups_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ProductsGridView = ((Restaurant.SortableListView)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #9
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\..\UserControls\TablesStatusUserControl.xaml"
     ((Restaurant.TablesStatusUserControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txbFreeTables = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.btnRefresh = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\..\UserControls\TablesStatusUserControl.xaml"
     this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.TablesGridView = ((Restaurant.SortableListView)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #10
0
ファイル: UsersWindow.g.cs プロジェクト: cveggalam/Restaurant
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((Restaurant.UsersWindow)(target));
     
     #line 8 "..\..\UsersWindow.xaml"
     this.Window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 40 "..\..\UsersWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 3:
     this.ContentGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.btnNewUser = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\UsersWindow.xaml"
     this.btnNewUser.Click += new System.Windows.RoutedEventHandler(this.btnNewUser_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnEdit = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\UsersWindow.xaml"
     this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.btnEdit_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnDelete = ((System.Windows.Controls.Button)(target));
     
     #line 54 "..\..\UsersWindow.xaml"
     this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnResetPassword = ((System.Windows.Controls.Button)(target));
     
     #line 55 "..\..\UsersWindow.xaml"
     this.btnResetPassword.Click += new System.Windows.RoutedEventHandler(this.btnResetPassword_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.txbBorderTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.BorderAddEdit = ((System.Windows.Controls.Border)(target));
     return;
     case 10:
     this.txbFullName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.txbUsername = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.txbPassword = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.txbConfirmPassword = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.txbPermission = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.txtFullName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 16:
     this.txtUserName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.pbPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 18:
     this.pbConfirmPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 19:
     this.cmbPermission = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 20:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 84 "..\..\UsersWindow.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 85 "..\..\UsersWindow.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.UsersGridView = ((Restaurant.SortableListView)(target));
     return;
     }
     this._contentLoaded = true;
 }