Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Name_Search_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 24 "..\..\..\Employees.xaml"
     this.Name_Search_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Name_Search_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Mobile_Search_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 25 "..\..\..\Employees.xaml"
     this.Mobile_Search_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Name_Search_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Job_Search_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 26 "..\..\..\Employees.xaml"
     this.Job_Search_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Job_Search_CB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.LB = ((System.Windows.Controls.ListBox)(target));
     
     #line 27 "..\..\..\Employees.xaml"
     this.LB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.EP = ((Source.EditPanel)(target));
     
     #line 28 "..\..\..\Employees.xaml"
     this.EP.Add += new System.EventHandler(this.EditPanel_Add);
     
     #line default
     #line hidden
     
     #line 28 "..\..\..\Employees.xaml"
     this.EP.Edit += new System.EventHandler(this.EditPanel_Edit);
     
     #line default
     #line hidden
     
     #line 28 "..\..\..\Employees.xaml"
     this.EP.Delete += new System.EventHandler(this.EditPanel_Delete);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Main_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.Name_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.Address_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.Salary_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.Telephone_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.Mobile_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.Job_CB = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 13:
     this.Save_Panel = ((Source.SavePanel)(target));
     
     #line 61 "..\..\..\Employees.xaml"
     this.Save_Panel.Save += new System.EventHandler(this.Save_Panel_Save);
     
     #line default
     #line hidden
     
     #line 61 "..\..\..\Employees.xaml"
     this.Save_Panel.Cancel += new System.EventHandler(this.Save_Panel_Cancel);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Main_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.Category_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 18 "..\..\..\Categories.xaml"
     this.Category_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Category_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.New = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 4:
     this.LB = ((System.Windows.Controls.ListBox)(target));
     return;
     case 5:
     this.Save = ((Source.SavePanel)(target));
     
     #line 21 "..\..\..\Categories.xaml"
     this.Save.Save += new System.EventHandler(this.Save_Save);
     
     #line default
     #line hidden
     
     #line 21 "..\..\..\Categories.xaml"
     this.Save.Cancel += new System.EventHandler(this.Save_Cancel);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 22 "..\..\..\Categories.xaml"
     ((Source.EditPanel)(target)).Add += new System.EventHandler(this.EditPanel_Add);
     
     #line default
     #line hidden
     
     #line 22 "..\..\..\Categories.xaml"
     ((Source.EditPanel)(target)).Edit += new System.EventHandler(this.EditPanel_Edit);
     
     #line default
     #line hidden
     
     #line 22 "..\..\..\Categories.xaml"
     ((Source.EditPanel)(target)).Delete += new System.EventHandler(this.EditPanel_Delete);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Пример #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\Transactions.xaml"
     ((POS.Transactions)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Main_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Search_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.Search_var1_TK = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.Search_var2_TK = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.Search_No_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 28 "..\..\..\Transactions.xaml"
     this.Search_No_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.Search_Date_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 30 "..\..\..\Transactions.xaml"
     this.Search_Date_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.Search_Date_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Search_var1_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 31 "..\..\..\Transactions.xaml"
     this.Search_var1_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.Search_var2_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 32 "..\..\..\Transactions.xaml"
     this.Search_var2_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.Transactions_LB = ((System.Windows.Controls.ListBox)(target));
     
     #line 33 "..\..\..\Transactions.xaml"
     this.Transactions_LB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.EP = ((Source.EditPanel)(target));
     
     #line 34 "..\..\..\Transactions.xaml"
     this.EP.Add += new System.EventHandler(this.EditPanel_Add);
     
     #line default
     #line hidden
     
     #line 34 "..\..\..\Transactions.xaml"
     this.EP.Edit += new System.EventHandler(this.EditPanel_Edit);
     
     #line default
     #line hidden
     
     #line 34 "..\..\..\Transactions.xaml"
     this.EP.Delete += new System.EventHandler(this.EditPanel_Delete);
     
     #line default
     #line hidden
     return;
     case 12:
     this.View_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.Info_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 14:
     this.var1_TK = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.var2_TK = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.No_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.Date_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 62 "..\..\..\Transactions.xaml"
     this.Date_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.Date_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.Var1_CB = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 19:
     this.Var2_CB = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 20:
     this.Details_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 21:
     this.Details_DG = ((System.Windows.Controls.DataGrid)(target));
     
     #line 72 "..\..\..\Transactions.xaml"
     this.Details_DG.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Details_DG_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 73 "..\..\..\Transactions.xaml"
     this.Details_DG.CellEditEnding += new System.EventHandler<System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Details_DG_CellEditEnding);
     
     #line default
     #line hidden
     return;
     case 22:
     this.DC1 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 23:
     this.DC2 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 24:
     this.DC3 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 25:
     this.DC4 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 26:
     this.DC5 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 27:
     this.DC6 = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 28:
     this.Edit_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 29:
     
     #line 93 "..\..\..\Transactions.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.Serial_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 94 "..\..\..\Transactions.xaml"
     this.Serial_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Serial_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 31:
     this.Amount_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 32:
     this.Price_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 96 "..\..\..\Transactions.xaml"
     this.Price_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Price_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 33:
     this.Discount_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 34:
     this.Product_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 99 "..\..\..\Transactions.xaml"
     this.Product_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Product_CB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 35:
     this.Totals_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 36:
     this.Total_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 37:
     this.Paid_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 38:
     this.Rest_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 39:
     
     #line 125 "..\..\..\Transactions.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 40:
     
     #line 126 "..\..\..\Transactions.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);
     
     #line default
     #line hidden
     return;
     case 41:
     this.Save_Panel = ((Source.SavePanel)(target));
     
     #line 128 "..\..\..\Transactions.xaml"
     this.Save_Panel.Save += new System.EventHandler(this.Save_Panel_Save);
     
     #line default
     #line hidden
     
     #line 128 "..\..\..\Transactions.xaml"
     this.Save_Panel.Cancel += new System.EventHandler(this.Save_Panel_Cancel);
     
     #line default
     #line hidden
     return;
     case 42:
     
     #line 130 "..\..\..\Transactions.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Пример #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Main_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.Point_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 25 "..\..\..\Points.xaml"
     this.Point_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Point_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Type_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 26 "..\..\..\Points.xaml"
     this.Type_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Type_CB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.New = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 5:
     this.Points_LB = ((System.Windows.Controls.ListBox)(target));
     
     #line 28 "..\..\..\Points.xaml"
     this.Points_LB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Points_LB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Save = ((Source.SavePanel)(target));
     
     #line 29 "..\..\..\Points.xaml"
     this.Save.Save += new System.EventHandler(this.Save_Save);
     
     #line default
     #line hidden
     
     #line 29 "..\..\..\Points.xaml"
     this.Save.Cancel += new System.EventHandler(this.Save_Cancel);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 30 "..\..\..\Points.xaml"
     ((Source.EditPanel)(target)).Add += new System.EventHandler(this.EditPanel_Add);
     
     #line default
     #line hidden
     
     #line 30 "..\..\..\Points.xaml"
     ((Source.EditPanel)(target)).Edit += new System.EventHandler(this.EditPanel_Edit);
     
     #line default
     #line hidden
     
     #line 30 "..\..\..\Points.xaml"
     ((Source.EditPanel)(target)).Delete += new System.EventHandler(this.EditPanel_Delete);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Properties_WP = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 9:
     this.Search_DG = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.Product_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 51 "..\..\..\Points.xaml"
     this.Product_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Serial_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 52 "..\..\..\Points.xaml"
     this.Serial_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.Categories_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 53 "..\..\..\Points.xaml"
     this.Categories_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Categories_CB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.View_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 14:
     this.Account_CB = ((System.Windows.Controls.ComboBox)(target));
     
     #line 76 "..\..\..\Points.xaml"
     this.Account_CB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Account_CB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.From_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 77 "..\..\..\Points.xaml"
     this.From_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.To_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 78 "..\..\..\Points.xaml"
     this.To_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.Transactions_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 18:
     this.Transaction_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 19:
     this.Stock_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Name_Search_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 24 "..\..\..\Customers.xaml"
     this.Name_Search_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Name_Search_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Mobile_Search_TB = ((System.Windows.Controls.TextBox)(target));
     
     #line 25 "..\..\..\Customers.xaml"
     this.Mobile_Search_TB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Name_Search_TB_TextChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.LB = ((System.Windows.Controls.ListBox)(target));
     
     #line 26 "..\..\..\Customers.xaml"
     this.LB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LB_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.EP = ((Source.EditPanel)(target));
     
     #line 27 "..\..\..\Customers.xaml"
     this.EP.Add += new System.EventHandler(this.EditPanel_Add);
     
     #line default
     #line hidden
     
     #line 27 "..\..\..\Customers.xaml"
     this.EP.Edit += new System.EventHandler(this.EditPanel_Edit);
     
     #line default
     #line hidden
     
     #line 27 "..\..\..\Customers.xaml"
     this.EP.Delete += new System.EventHandler(this.EditPanel_Delete);
     
     #line default
     #line hidden
     return;
     case 5:
     this.Main_GD = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.Name_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.Address_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.Telephone_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.Mobile_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.Balance_TB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.Save_Panel = ((Source.SavePanel)(target));
     
     #line 59 "..\..\..\Customers.xaml"
     this.Save_Panel.Save += new System.EventHandler(this.Save_Panel_Save);
     
     #line default
     #line hidden
     
     #line 59 "..\..\..\Customers.xaml"
     this.Save_Panel.Cancel += new System.EventHandler(this.Save_Panel_Cancel);
     
     #line default
     #line hidden
     return;
     case 12:
     this.From_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 72 "..\..\..\Customers.xaml"
     this.From_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.To_DTP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
     
     #line 73 "..\..\..\Customers.xaml"
     this.To_DTP.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.From_DTP_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.Account_DG = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }