Exemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.frmScheAdd = ((FastDeliveryGroup.Presentation.StaffForm.AddSchedule)(target));
     
     #line 9 "..\..\..\..\Presentation\StaffFormm\ScheduleAdding.xaml"
     this.frmScheAdd.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ProductID = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.ProductID_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.ProductID_Copy2 = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.ProductID_Copy3 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.cbbShipper = ((System.Windows.Controls.ComboBox)(target));
     
     #line 15 "..\..\..\..\Presentation\StaffFormm\ScheduleAdding.xaml"
     this.cbbShipper.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxShipper_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnOk = ((System.Windows.Controls.Button)(target));
     
     #line 16 "..\..\..\..\Presentation\StaffFormm\ScheduleAdding.xaml"
     this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.btnAddProduct = ((System.Windows.Controls.Button)(target));
     
     #line 18 "..\..\..\..\Presentation\StaffFormm\ScheduleAdding.xaml"
     this.btnAddProduct.Click += new System.Windows.RoutedEventHandler(this.button_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.dgdProduct = ((System.Windows.Controls.DataGrid)(target));
     
     #line 19 "..\..\..\..\Presentation\StaffFormm\ScheduleAdding.xaml"
     this.dgdProduct.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dgdProduct_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 11:
     this.cbbProduct = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 12:
     this.Quantity = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.txtQuantity = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 14:
     this.ProductID_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.txtFilter = ((System.Windows.Controls.TextBox)(target));
     
     #line 29 "..\..\..\..\Presentation\StaffFormm\ScheduleAdding.xaml"
     this.txtFilter.GotFocus += new System.Windows.RoutedEventHandler(this.txtCustomer_GotFocus);
     
     #line default
     #line hidden
     
     #line 29 "..\..\..\..\Presentation\StaffFormm\ScheduleAdding.xaml"
     this.txtFilter.LostFocus += new System.Windows.RoutedEventHandler(this.txtCustomer_LostFocus);
     
     #line default
     #line hidden
     
     #line 29 "..\..\..\..\Presentation\StaffFormm\ScheduleAdding.xaml"
     this.txtFilter.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtCustomer_TextChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.dgdCustomer = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 17:
     this.dpDeliTime = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 18:
     this.txtDescription = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
 private bool isValidMac(MaskedTextBox maskedTextBox)
 {
     bool isValid = maskedTextBox.IsMaskCompleted;
      if ( isValid ) {
     isValid = !maskedTextBox.Text.Any(c => ( c > 'F' && c <= 'Z' || c > 'f' && c <= 'z' ));
      }
      return isValid;
 }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SalesOrderWindow = ((Accounts_Pos.View.SalesOrder.SalesOrder)(target));
                return;

            case 2:
                this.MaskedTextBox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 3:
                this.OrderTypeCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:

            #line 76 "..\..\..\..\View\SalesOrder\SalesOrder.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxDecimal_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.ProductGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 13:

            #line 463 "..\..\..\..\View\SalesOrder\SalesOrder.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxDecimal_TextChanged);

            #line default
            #line hidden
                return;

            case 14:

            #line 466 "..\..\..\..\View\SalesOrder\SalesOrder.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 15:
                this.DelCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.ModeCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:

            #line 553 "..\..\..\..\View\SalesOrder\SalesOrder.xaml"
                ((System.Windows.Controls.ComboBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OnVATTypeChange);

            #line default
            #line hidden
                return;

            case 18:

            #line 561 "..\..\..\..\View\SalesOrder\SalesOrder.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\VerifyCustomer.xaml"
                ((Project2016App.VerifyCustomer)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Form_Load);

            #line default
            #line hidden
                return;

            case 2:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 17 "..\..\VerifyCustomer.xaml"
                this.dataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectDataGridChange);

            #line default
            #line hidden
                return;

            case 4:
                this.label2_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.label2_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.label2_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.label2_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label2_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.txtLastname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.txtName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.txtAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.label2_Copy9 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.txtZipcode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.Delete = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\VerifyCustomer.xaml"
                this.Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.EditButton = ((System.Windows.Controls.Button)(target));

            #line 69 "..\..\VerifyCustomer.xaml"
                this.EditButton.Click += new System.Windows.RoutedEventHandler(this.EditButton_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.label1_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.txtCard = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 20:
                this.txtTel = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 21:
                this.label2_Copy10 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.txtRoad = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.label2_Copy11 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.txtMoo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.label2_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.txtUsername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.label2_Copy6 = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.txtPlate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.label2_Copy7 = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.txtPassword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.label2_Copy8 = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.txtMail = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.label2_Copy12 = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.txtAmphur = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.label2_Copy13 = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.txtProvince = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.label2_Copy14 = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.txtDistrict = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.Verify = ((System.Windows.Controls.Button)(target));

            #line 97 "..\..\VerifyCustomer.xaml"
                this.Verify.Click += new System.Windows.RoutedEventHandler(this.Verify_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.label1_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.showStatus = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mdpDate = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     
     #line 144 "..\..\..\..\UC\DateUC.xaml"
     this.mdpDate.AddHandler(System.Windows.Input.Mouse.PreviewMouseDownEvent, new System.Windows.Input.MouseButtonEventHandler(this.mdpDate_PreviewMouseDown));
     
     #line default
     #line hidden
     return;
     case 2:
     this.calDatePopup = ((System.Windows.Controls.Primitives.Popup)(target));
     return;
     case 3:
     this.Border = ((System.Windows.Controls.Border)(target));
     return;
     case 4:
     this.calDate = ((System.Windows.Controls.Calendar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\UserMaintainer.xaml"
                ((HOTEL_RESERVATION_SYSTEM.UserMaintainer)(target)).Loaded += new System.Windows.RoutedEventHandler(this.loadgrid);

            #line default
            #line hidden
                return;

            case 2:
                this.fileAddDoctor = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.fileAddPatient = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.fileAddRoom = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.helpabout = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.bkings = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.fnam = ((System.Windows.Controls.TextBox)(target));

            #line 56 "..\..\UserMaintainer.xaml"
                this.fnam.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.fnam_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.lname = ((System.Windows.Controls.TextBox)(target));

            #line 62 "..\..\UserMaintainer.xaml"
                this.lname.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.lname_TextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.cnic = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 68 "..\..\UserMaintainer.xaml"
                this.cnic.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.cnic_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.ph_no = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 74 "..\..\UserMaintainer.xaml"
                this.ph_no.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ph_no_TextChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.DOB = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 12:
                this.lod = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 13:
                this.add = ((System.Windows.Controls.TextBox)(target));

            #line 89 "..\..\UserMaintainer.xaml"
                this.add.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.add_TextChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.rm_type = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:

            #line 108 "..\..\UserMaintainer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.make_booking);

            #line default
            #line hidden
                return;

            case 16:
                this.addgrid = ((System.Windows.Controls.DataGrid)(target));

            #line 112 "..\..\UserMaintainer.xaml"
                this.addgrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.addgrid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.availabl_rm = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.availble_combo = ((System.Windows.Controls.ComboBox)(target));

            #line 149 "..\..\UserMaintainer.xaml"
                this.availble_combo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.availble_combo_SelectionChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.rmavlbl = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.ntavailbl = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.rmavlbl_text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.next = ((System.Windows.Controls.Button)(target));

            #line 167 "..\..\UserMaintainer.xaml"
                this.next.Click += new System.Windows.RoutedEventHandler(this.next_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.check = ((System.Windows.Controls.Button)(target));

            #line 170 "..\..\UserMaintainer.xaml"
                this.check.Click += new System.Windows.RoutedEventHandler(this.check_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.fname = ((System.Windows.Controls.TextBox)(target));

            #line 197 "..\..\UserMaintainer.xaml"
                this.fname.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.fname_TextChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.clnam = ((System.Windows.Controls.TextBox)(target));

            #line 203 "..\..\UserMaintainer.xaml"
                this.clnam.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.clnam_TextChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.ccnic = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 209 "..\..\UserMaintainer.xaml"
                this.ccnic.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ccnic_TextChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.ccont = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 215 "..\..\UserMaintainer.xaml"
                this.ccont.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ccont_TextChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.db = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 29:
                this.ld = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 30:
                this.cadd = ((System.Windows.Controls.TextBox)(target));

            #line 238 "..\..\UserMaintainer.xaml"
                this.cadd.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.cadd_TextChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.urm_type = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 32:

            #line 248 "..\..\UserMaintainer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.updat);

            #line default
            #line hidden
                return;

            case 33:

            #line 251 "..\..\UserMaintainer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 34:

            #line 255 "..\..\UserMaintainer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_delete);

            #line default
            #line hidden
                return;

            case 35:
                this.update_grid = ((System.Windows.Controls.DataGrid)(target));

            #line 258 "..\..\UserMaintainer.xaml"
                this.update_grid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.update_grid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.lvdate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 38:
                this.bkdate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 39:
                this.srcni = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 318 "..\..\UserMaintainer.xaml"
                this.srcni.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.srcni_TextChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.srnam = ((System.Windows.Controls.TextBox)(target));

            #line 321 "..\..\UserMaintainer.xaml"
                this.srnam.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.srnam_TextChanged);

            #line default
            #line hidden
                return;

            case 41:
                this.searchtype = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 42:
                this.search_btn = ((System.Windows.Controls.Button)(target));

            #line 335 "..\..\UserMaintainer.xaml"
                this.search_btn.Click += new System.Windows.RoutedEventHandler(this.searchrecord);

            #line default
            #line hidden
                return;

            case 43:
                this.cancle_btn = ((System.Windows.Controls.Button)(target));

            #line 339 "..\..\UserMaintainer.xaml"
                this.cancle_btn.Click += new System.Windows.RoutedEventHandler(this.cancel);

            #line default
            #line hidden
                return;

            case 44:
                this.ok = ((System.Windows.Controls.Button)(target));

            #line 342 "..\..\UserMaintainer.xaml"
                this.ok.Click += new System.Windows.RoutedEventHandler(this.Searchcust);

            #line default
            #line hidden
                return;

            case 45:
                this.search_grid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 46:
                this.kit_rmno = ((System.Windows.Controls.TextBox)(target));

            #line 387 "..\..\UserMaintainer.xaml"
                this.kit_rmno.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.kit_rmno_TextChanged);

            #line default
            #line hidden
                return;

            case 47:

            #line 392 "..\..\UserMaintainer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.check_next);

            #line default
            #line hidden
                return;

            case 48:
                this.fdslec = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 49:
                this.qunty = ((System.Windows.Controls.TextBox)(target));

            #line 404 "..\..\UserMaintainer.xaml"
                this.qunty.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.qunty_TextChanged);

            #line default
            #line hidden
                return;

            case 50:
                this.bname = ((System.Windows.Controls.TextBox)(target));

            #line 434 "..\..\UserMaintainer.xaml"
                this.bname.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.bname_TextChanged);

            #line default
            #line hidden
                return;

            case 51:
                this.bcnic = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 445 "..\..\UserMaintainer.xaml"
                this.bcnic.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.bcnic_TextChanged);

            #line default
            #line hidden
                return;

            case 52:
                this.brno = ((System.Windows.Controls.TextBox)(target));

            #line 448 "..\..\UserMaintainer.xaml"
                this.brno.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.brno_TextChanged);

            #line default
            #line hidden
                return;

            case 53:

            #line 454 "..\..\UserMaintainer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.makebill);

            #line default
            #line hidden
                return;

            case 54:

            #line 457 "..\..\UserMaintainer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 55:

            #line 460 "..\..\UserMaintainer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.showbill);

            #line default
            #line hidden
                return;

            case 56:
                this.bill_grid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 57:
                this.rnt = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 58:
                this.rmsrv = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 59:
                this.ttl = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.phonebook_EditMode = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 2:
                this.textbox_Phonenumber = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 3:
                this.textbox_LastName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.textbox_FirstName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.textbox_MiddleName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.textbox_BirthDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.textbox_City = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.textbox_Street = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.textbox_House = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.textbox_Flat = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:

            #line 136 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.result_Text = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.personGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 8
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.editor = ((GSSubtitle.Windows.Editor.Editor)(target));
     
     #line 12 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.editor.Initialized += new System.EventHandler(this.editor_Initialized);
     
     #line default
     #line hidden
     
     #line 12 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.editor.Closed += new System.EventHandler(this.editor_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.baseContainer = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.mainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 4:
     this.openfileMenuitem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 43 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.openfileMenuitem.Click += new System.Windows.RoutedEventHandler(this.openfileMenuitem_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.mainToolbar = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 6:
     this.mainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.mainListView = ((System.Windows.Controls.ListView)(target));
     
     #line 66 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.mainListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.mainListView_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 66 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.mainListView.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.mainListView_ContextMenuOpening);
     
     #line default
     #line hidden
     
     #line 66 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.mainListView.ContextMenuClosing += new System.Windows.Controls.ContextMenuEventHandler(this.mainListView_ContextMenuClosing);
     
     #line default
     #line hidden
     return;
     case 8:
     this.lineNumberColumb = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 9:
     this.startLineColumn = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 10:
     this.endTimecolumn = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 11:
     this.durationcolumn = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 12:
     this.textColumn = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 13:
     this.originalTextColumn = ((System.Windows.Controls.GridViewColumn)(target));
     return;
     case 14:
     this.mainListViewContextMenu = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 15:
     this.addLineMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 16:
     this.insertBeforeCurrentLineMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 17:
     this.insertAfterCurrentLineMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 18:
     this.deletelineMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 19:
     this.deleteTextMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 20:
     this.clearoriginaltextMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 21:
     this.copyToClipboardMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 22:
     this.fromClipboardMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 23:
     this.setAsOriginalTextMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 24:
     this.restoreOriginalTextMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 25:
     this.suncoriginaltextandtextMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 26:
     this.splitMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 27:
     this.margemenuitem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 28:
     this.normalMenuItem_LV = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 29:
     this.boldTextMLVMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 30:
     this.italicMLVMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 31:
     this.fontMLVMenuIem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 32:
     this.fontcolorMLVMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 33:
     this.surroundwithMLVMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 34:
     this.alignmentMLVMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 35:
     this.mainGridSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 36:
     this.toolsetGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 37:
     this.contextEditor = ((System.Windows.Controls.TextBox)(target));
     return;
     case 38:
     this.contexteditornormalmenuitem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 39:
     this.contexteditorboldmenuitem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 40:
     this.contexteditoritalicmenuitem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 41:
     this.contexteditorundelinemenuitem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 42:
     this.contexteditorfontmenuitem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 43:
     this.contexteditorfontcolormenuitem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 44:
     this.ContextEditorSubscriptTextMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 164 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.ContextEditorSubscriptTextMenuItem.Click += new System.Windows.RoutedEventHandler(this.ContextEditorSubscriptTextMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 45:
     this.ContextEditorSuperscriptMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 165 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.ContextEditorSuperscriptMenuItem.Click += new System.Windows.RoutedEventHandler(this.ContextEditorSuperscriptMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 46:
     this.specialcharacter = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 47:
     this.controlcharacter = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 48:
     this.rightToLeftControllerCharacterMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 49:
     this.startOfLeftToRightEmbeddingControllerCharacterMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 50:
     this.startOfLeftTorightOverrrideControlerCharacterMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 51:
     this.startOfRightToLeftEmbeddingControllerCharcterMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 52:
     this.startOfRightToLeftOverrideControllerCharactorMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 53:
     this.durationEditor = ((System.Windows.Controls.TextBox)(target));
     return;
     case 54:
     this.durationEditorupbutton = ((System.Windows.Controls.Button)(target));
     
     #line 184 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.durationEditorupbutton.Click += new System.Windows.RoutedEventHandler(this.durationEditorupbutton_Click);
     
     #line default
     #line hidden
     return;
     case 55:
     this.durationEditordownbutton = ((System.Windows.Controls.Button)(target));
     
     #line 185 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.durationEditordownbutton.Click += new System.Windows.RoutedEventHandler(this.durationEditordownbutton_Click);
     
     #line default
     #line hidden
     return;
     case 56:
     this.startTimeEditor = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 57:
     this.startTimeEditorupbutton = ((System.Windows.Controls.Button)(target));
     
     #line 206 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.startTimeEditorupbutton.Click += new System.Windows.RoutedEventHandler(this.startTimeEditorupbutton_Click);
     
     #line default
     #line hidden
     return;
     case 58:
     this.startTimeEditordownbutton = ((System.Windows.Controls.Button)(target));
     
     #line 207 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.startTimeEditordownbutton.Click += new System.Windows.RoutedEventHandler(this.startTimeEditordownbutton_Click);
     
     #line default
     #line hidden
     return;
     case 59:
     this.autoLineBrackes = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 60:
     this.timeinfotextblock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 61:
     this.player = ((System.Windows.Controls.MediaElement)(target));
     
     #line 237 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.player.MediaOpened += new System.Windows.RoutedEventHandler(this.player_MediaOpened);
     
     #line default
     #line hidden
     
     #line 237 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.player.MediaFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.player_MediaFailed);
     
     #line default
     #line hidden
     return;
     case 62:
     this.playerchildren = ((System.Windows.Controls.Grid)(target));
     
     #line 240 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.playerchildren.DragOver += new System.Windows.DragEventHandler(this.playerchildren_DragOver);
     
     #line default
     #line hidden
     
     #line 240 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.playerchildren.Drop += new System.Windows.DragEventHandler(this.playerchildren_Drop);
     
     #line default
     #line hidden
     
     #line 240 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.playerchildren.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.playerchildren_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 63:
     this.playerslider = ((System.Windows.Controls.Slider)(target));
     
     #line 241 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.playerslider.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.playerslider_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 241 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.playerslider.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.playerslider_PreviewMouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     case 64:
     this.playerpositiontextblok = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 65:
     this.playerlenthtextblock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 66:
     this.playerImage = ((System.Windows.Controls.Image)(target));
     return;
     case 67:
     this.openmediamenuitem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 254 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.openmediamenuitem.Click += new System.Windows.RoutedEventHandler(this.openmediamenuitem_Click);
     
     #line default
     #line hidden
     return;
     case 68:
     this.stopmediamenuitem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 259 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.stopmediamenuitem.Click += new System.Windows.RoutedEventHandler(this.stopmediamenuitem_Click);
     
     #line default
     #line hidden
     return;
     case 69:
     this.fillmediaradiobutton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 268 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.fillmediaradiobutton.Checked += new System.Windows.RoutedEventHandler(this.fillmediaradiobutton_Checked);
     
     #line default
     #line hidden
     return;
     case 70:
     this.uniformmediaradiobutton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 269 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.uniformmediaradiobutton.Checked += new System.Windows.RoutedEventHandler(this.uniformmediaradiobutton_Checked);
     
     #line default
     #line hidden
     return;
     case 71:
     this.playervolumeslider = ((System.Windows.Controls.Slider)(target));
     return;
     case 72:
     this.linkwithsubtitle = ((System.Windows.Controls.CheckBox)(target));
     
     #line 279 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.linkwithsubtitle.Unchecked += new System.Windows.RoutedEventHandler(this.linkwithsubtitle_Unchecked);
     
     #line default
     #line hidden
     return;
     case 73:
     this.autostop = ((System.Windows.Controls.CheckBox)(target));
     
     #line 280 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.autostop.Checked += new System.Windows.RoutedEventHandler(this.autostop_Checked);
     
     #line default
     #line hidden
     return;
     case 74:
     this.jumptopreviousimage = ((System.Windows.Controls.Image)(target));
     
     #line 283 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.jumptopreviousimage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.jumptopreviousimage_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 75:
     this.jumptonextimage = ((System.Windows.Controls.Image)(target));
     
     #line 284 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.jumptonextimage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.jumptonextimage_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 76:
     this.button = ((System.Windows.Controls.Button)(target));
     
     #line 285 "..\..\..\..\Windows\Editor\Editor.xaml"
     this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);
     
     #line default
     #line hidden
     return;
     case 77:
     this.mainStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 78:
     
     #line 294 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.NormalText_CanExecute);
     
     #line default
     #line hidden
     
     #line 294 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NoremalText_Execute);
     
     #line default
     #line hidden
     return;
     case 79:
     
     #line 295 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MargeCommand_Executed);
     
     #line default
     #line hidden
     
     #line 295 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MargeCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 80:
     
     #line 296 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.AddLineCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 296 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AddLineCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 81:
     
     #line 297 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.InsetLineCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 82:
     
     #line 298 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.InserLineBeforeCurrentLineCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 83:
     
     #line 299 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.InsertLineAfterCurrentLineCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 84:
     
     #line 300 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.DeleteLinesCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 300 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.DeleteLineCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 85:
     
     #line 301 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.TextMenuItemCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 86:
     
     #line 302 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ClearTextCommand_Execute);
     
     #line default
     #line hidden
     
     #line 302 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ClearTextCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 87:
     
     #line 303 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CLearOriginalTextCommand_Executed);
     
     #line default
     #line hidden
     
     #line 303 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CLearOriginalTextCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 88:
     
     #line 304 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CopyToClipboardCommand_Execute);
     
     #line default
     #line hidden
     
     #line 304 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CopyToClipboardCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 89:
     
     #line 305 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.PasteTextFromClipboard_CanExecute);
     
     #line default
     #line hidden
     
     #line 305 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PasteTextFromClipboard_Execute);
     
     #line default
     #line hidden
     return;
     case 90:
     
     #line 306 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SetTextAsOriginalTextCommand_Executed);
     
     #line default
     #line hidden
     
     #line 306 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SetTextAsOriginalTextCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 91:
     
     #line 307 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SetOriginalTextAsTextCommand_Executed);
     
     #line default
     #line hidden
     
     #line 307 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SetOriginalTextAsTextCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 92:
     
     #line 308 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SyncOriginalTextAndText_Executed);
     
     #line default
     #line hidden
     
     #line 308 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SyncOriginalTextAndTextCommand_CanExecute);
     
     #line default
     #line hidden
     return;
     case 93:
     
     #line 309 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SplitLSelectedLinesCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 309 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SplitLSelectedLinesCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 94:
     
     #line 310 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.BoldTextCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 310 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.BoldTextCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 95:
     
     #line 311 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ItalicTextCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 311 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ItalicTextCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 96:
     
     #line 312 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.UndoCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 312 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.UndoCommand_Execute);
     
     #line default
     #line hidden
     return;
     case 97:
     
     #line 313 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RedoCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 313 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RedoCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 98:
     
     #line 314 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SurroundWithTagCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 314 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SurroundWithTagCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 99:
     
     #line 315 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.AddSpecialCharacterCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 315 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AddSpecialCharacterCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 100:
     
     #line 316 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.AddControlCharacterCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 316 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AddControlCharacterCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 101:
     
     #line 317 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SurroundWithSpecialCharCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 317 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SurroundWithSpecialCharCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 102:
     
     #line 318 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SubtitleAlignMentCommand_CaneExecute);
     
     #line default
     #line hidden
     
     #line 318 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SubtitleAlignMentCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 103:
     
     #line 319 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.KaroekeEffectCommand_CanExecute);
     
     #line default
     #line hidden
     
     #line 319 "..\..\..\..\Windows\Editor\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.KarokeEffectCommand_Execute);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\Cadastro.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_1);

            #line default
            #line hidden

            #line 7 "..\..\Cadastro.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_1);

            #line default
            #line hidden
                return;

            case 2:

            #line 8 "..\..\Cadastro.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_1);

            #line default
            #line hidden

            #line 8 "..\..\Cadastro.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_3);

            #line default
            #line hidden
                return;

            case 3:
                this.VoltarButton = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.MinimizarButton = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.EnviarButao = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\Cadastro.xaml"
                this.EnviarButao.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.NomeText = ((System.Windows.Controls.TextBox)(target));

            #line 26 "..\..\Cadastro.xaml"
                this.NomeText.LostFocus += new System.Windows.RoutedEventHandler(this.NomeText_LostFocus);

            #line default
            #line hidden
                return;

            case 7:
                this.SobreNomeText = ((System.Windows.Controls.TextBox)(target));

            #line 27 "..\..\Cadastro.xaml"
                this.SobreNomeText.LostFocus += new System.Windows.RoutedEventHandler(this.SobreNomeText_LostFocus);

            #line default
            #line hidden
                return;

            case 8:
                this.ConfEmailText = ((System.Windows.Controls.TextBox)(target));

            #line 28 "..\..\Cadastro.xaml"
                this.ConfEmailText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ConfEmailText_Text);

            #line default
            #line hidden

            #line 28 "..\..\Cadastro.xaml"
                this.ConfEmailText.LostFocus += new System.Windows.RoutedEventHandler(this.ConfEmailText_LostFocus);

            #line default
            #line hidden
                return;

            case 9:
                this.EmailText = ((System.Windows.Controls.TextBox)(target));

            #line 29 "..\..\Cadastro.xaml"
                this.EmailText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.EmailText_Leave);

            #line default
            #line hidden

            #line 29 "..\..\Cadastro.xaml"
                this.EmailText.LostFocus += new System.Windows.RoutedEventHandler(this.EmailText_LostFocus);

            #line default
            #line hidden
                return;

            case 10:
                this.MascRadio = ((System.Windows.Controls.RadioButton)(target));

            #line 30 "..\..\Cadastro.xaml"
                this.MascRadio.Click += new System.Windows.RoutedEventHandler(this.MascRadio_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.FemRadio = ((System.Windows.Controls.RadioButton)(target));

            #line 31 "..\..\Cadastro.xaml"
                this.FemRadio.Click += new System.Windows.RoutedEventHandler(this.FemRadio_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.LevAtivRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 13:
                this.SedenRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.MuitoAtivRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.AtivRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.CheckEmail = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.ImagemCheck = ((System.Windows.Controls.Image)(target));
                return;

            case 18:
                this.CheckSenha = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.ImagemCheckSenha = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.LabelInformativo = ((System.Windows.Controls.Label)(target));

            #line 49 "..\..\Cadastro.xaml"
                this.LabelInformativo.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 21:
                this.ConfSenhaText = ((System.Windows.Controls.PasswordBox)(target));

            #line 50 "..\..\Cadastro.xaml"
                this.ConfSenhaText.PasswordChanged += new System.Windows.RoutedEventHandler(this.ConfSenhaText_PasswordChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.SenhaText = ((System.Windows.Controls.PasswordBox)(target));

            #line 51 "..\..\Cadastro.xaml"
                this.SenhaText.PasswordChanged += new System.Windows.RoutedEventHandler(this.SenhaText_PasswordChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.DataNascText = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 24:
                this.CinturaText = ((Xceed.Wpf.Toolkit.SingleUpDown)(target));
                return;

            case 25:
                this.AbdomenText = ((Xceed.Wpf.Toolkit.SingleUpDown)(target));
                return;

            case 26:
                this.QuadrilText = ((Xceed.Wpf.Toolkit.SingleUpDown)(target));
                return;

            case 27:
                this.AlturaText = ((Xceed.Wpf.Toolkit.SingleUpDown)(target));
                return;

            case 28:
                this.PesoText = ((Xceed.Wpf.Toolkit.SingleUpDown)(target));
                return;

            case 29:
                this.ToraxText = ((Xceed.Wpf.Toolkit.SingleUpDown)(target));
                return;

            case 30:
                this.Resp3Text = ((System.Windows.Controls.TextBox)(target));

            #line 96 "..\..\Cadastro.xaml"
                this.Resp3Text.LostFocus += new System.Windows.RoutedEventHandler(this.Resp3Text_LostFocus);

            #line default
            #line hidden
                return;

            case 31:
                this.Pergunta2Text = ((System.Windows.Controls.TextBox)(target));

            #line 97 "..\..\Cadastro.xaml"
                this.Pergunta2Text.LostFocus += new System.Windows.RoutedEventHandler(this.Pergunta2Text_LostFocus);

            #line default
            #line hidden
                return;

            case 32:
                this.Resp2Text = ((System.Windows.Controls.TextBox)(target));

            #line 98 "..\..\Cadastro.xaml"
                this.Resp2Text.LostFocus += new System.Windows.RoutedEventHandler(this.Resp2Text_LostFocus);

            #line default
            #line hidden
                return;

            case 33:
                this.Pergunta3Text = ((System.Windows.Controls.TextBox)(target));

            #line 99 "..\..\Cadastro.xaml"
                this.Pergunta3Text.LostFocus += new System.Windows.RoutedEventHandler(this.Pergunta3Text_LostFocus);

            #line default
            #line hidden
                return;

            case 34:
                this.Resp1Text = ((System.Windows.Controls.TextBox)(target));

            #line 100 "..\..\Cadastro.xaml"
                this.Resp1Text.LostFocus += new System.Windows.RoutedEventHandler(this.Resp1Text_LostFocus);

            #line default
            #line hidden
                return;

            case 35:
                this.Pergunta1Text = ((System.Windows.Controls.TextBox)(target));

            #line 101 "..\..\Cadastro.xaml"
                this.Pergunta1Text.LostFocus += new System.Windows.RoutedEventHandler(this.Pergunta1Text_LostFocus);

            #line default
            #line hidden
                return;

            case 36:
                this.AceitoCheck = ((System.Windows.Controls.CheckBox)(target));

            #line 119 "..\..\Cadastro.xaml"
                this.AceitoCheck.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 37:
                this.FotoBFM = ((System.Windows.Controls.Image)(target));
                return;

            case 38:
                this.FotoBFF = ((System.Windows.Controls.Image)(target));
                return;

            case 39:
                this._35M45FRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 40:
                this._30M40FRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 41:
                this._25M35FRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 42:
                this._20M30FRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 43:
                this._15M25FRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 44:
                this._12M20FRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 45:
                this._8M15FRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 46:
                this.SimRadio = ((System.Windows.Controls.RadioButton)(target));

            #line 137 "..\..\Cadastro.xaml"
                this.SimRadio.Click += new System.Windows.RoutedEventHandler(this.SimRadio_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.NaoRadio = ((System.Windows.Controls.RadioButton)(target));

            #line 138 "..\..\Cadastro.xaml"
                this.NaoRadio.Click += new System.Windows.RoutedEventHandler(this.NaoRadio_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.QuantoText = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 49:
                this.QuantoLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.CasoLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.LabelInformativoBF = ((System.Windows.Controls.Label)(target));

            #line 143 "..\..\Cadastro.xaml"
                this.LabelInformativoBF.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.LabelInformativoBF_MouseLeftButtonDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\Pages\TeachersPage.xaml"
                ((TestTaskDomKofe.Pages.TeachersPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lstTeachers = ((System.Windows.Controls.ListView)(target));
                return;

            case 3:

            #line 97 "..\..\..\Pages\TeachersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddTeachers);

            #line default
            #line hidden
                return;

            case 4:

            #line 98 "..\..\..\Pages\TeachersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteTeachers);

            #line default
            #line hidden
                return;

            case 5:

            #line 99 "..\..\..\Pages\TeachersPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateTeachers_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.gridCarDetails = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.txtFIO = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txtDateOfBirth = ((System.Windows.Controls.DatePicker)(target));

            #line 124 "..\..\..\Pages\TeachersPage.xaml"
                this.txtDateOfBirth.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 9:
                this.txtAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.txtPhone = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 11:
                this.cbSubject = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.txtTeachersId = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.txtError = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fileAddDoctor = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 2:
                this.fileAddPatient = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.fileAddRoom = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.helpabout = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.user_name = ((System.Windows.Controls.TextBox)(target));

            #line 78 "..\..\Admin.xaml"
                this.user_name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.user_name_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.lname = ((System.Windows.Controls.TextBox)(target));

            #line 82 "..\..\Admin.xaml"
                this.lname.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.lname_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.cnic = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 87 "..\..\Admin.xaml"
                this.cnic.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.cnic_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.ph_no = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 90 "..\..\Admin.xaml"
                this.ph_no.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ph_no_TextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.add = ((System.Windows.Controls.TextBox)(target));

            #line 94 "..\..\Admin.xaml"
                this.add.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.add_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.pass = ((System.Windows.Controls.TextBox)(target));

            #line 98 "..\..\Admin.xaml"
                this.pass.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.pass_TextChanged);

            #line default
            #line hidden
                return;

            case 11:

            #line 104 "..\..\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Click_cancle);

            #line default
            #line hidden
                return;

            case 12:

            #line 108 "..\..\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_Add);

            #line default
            #line hidden
                return;

            case 13:
                this.dnam = ((System.Windows.Controls.TextBox)(target));

            #line 140 "..\..\Admin.xaml"
                this.dnam.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.dnam_TextChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.dcnic = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 145 "..\..\Admin.xaml"
                this.dcnic.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.dcnic_TextChanged);

            #line default
            #line hidden
                return;

            case 15:

            #line 150 "..\..\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Click_cancle);

            #line default
            #line hidden
                return;

            case 16:

            #line 154 "..\..\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_Delete);

            #line default
            #line hidden
                return;

            case 17:
                this.add_room = ((System.Windows.Controls.TextBox)(target));

            #line 181 "..\..\Admin.xaml"
                this.add_room.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.add_room_TextChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.type_room = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:

            #line 192 "..\..\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.addrooms);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.txtID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txtAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txtTel = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 9:
                this.txtCard = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 10:
                this.txtPlate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.txtName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.txtLname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.label9_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.label9_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.label9_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.txtProductid = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.txtContainer = ((System.Windows.Controls.TextBox)(target));

            #line 38 "..\..\Selltoday.xaml"
                this.txtContainer.KeyUp += new System.Windows.Input.KeyEventHandler(this.AfterEnterTotal);

            #line default
            #line hidden

            #line 38 "..\..\Selltoday.xaml"
                this.txtContainer.KeyDown += new System.Windows.Input.KeyEventHandler(this.AfterPressContain);

            #line default
            #line hidden
                return;

            case 23:
                this.txtPrice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.txtMessage = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.label9_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.txtNameproduct = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\Selltoday.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.label9_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.txtTotal = ((System.Windows.Controls.TextBox)(target));

            #line 49 "..\..\Selltoday.xaml"
                this.txtTotal.KeyUp += new System.Windows.Input.KeyEventHandler(this.AfterEnter);

            #line default
            #line hidden

            #line 49 "..\..\Selltoday.xaml"
                this.txtTotal.KeyDown += new System.Windows.Input.KeyEventHandler(this.AfterPress);

            #line default
            #line hidden
                return;

            case 30:
                this.txtInfototal = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.label9_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.txttotalPrice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.label9_Copy6 = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 35:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\Selltoday.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.txtSubtotal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.txtUnit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.AddData = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\Selltoday.xaml"
                this.AddData.Click += new System.Windows.RoutedEventHandler(this.AddData_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.EditData = ((System.Windows.Controls.Button)(target));

            #line 76 "..\..\Selltoday.xaml"
                this.EditData.Click += new System.Windows.RoutedEventHandler(this.Update_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.DelData = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\Selltoday.xaml"
                this.DelData.Click += new System.Windows.RoutedEventHandler(this.DeleteRow);

            #line default
            #line hidden
                return;

            case 41:
                this.HeaderBill = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.ShowBill = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.txtDate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.label12 = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.label12_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.TotalLast = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.Insert = ((System.Windows.Controls.Button)(target));

            #line 102 "..\..\Selltoday.xaml"
                this.Insert.Click += new System.Windows.RoutedEventHandler(this.SavetoDatabase);

            #line default
            #line hidden
                return;

            case 48:
                this.History = ((System.Windows.Controls.Button)(target));

            #line 103 "..\..\Selltoday.xaml"
                this.History.Click += new System.Windows.RoutedEventHandler(this.History_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.label10_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.label10_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.label5_Copy = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 55 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.IndividualForm_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 56 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CompanyForm_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 58 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PolicyForm_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 61 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CategoryForm_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 64 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AccidentForm_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 65 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ClientAccidentForm_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 68 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ClientInfoForm_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 71 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AboutProgram_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.BackgroundForm = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.BackgroundImg_Image = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.ClientForm = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.FirstnameIndividual_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 114 "..\..\MainWindow.xaml"
                this.FirstnameIndividual_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.FirstnameIndividual_GotFocus);

            #line default
            #line hidden

            #line 114 "..\..\MainWindow.xaml"
                this.FirstnameIndividual_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.FirstnameIndividual_LostFocus);

            #line default
            #line hidden

            #line 114 "..\..\MainWindow.xaml"
                this.FirstnameIndividual_TextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FirstnameIndividual_TextChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.LastnameIndividual_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 115 "..\..\MainWindow.xaml"
                this.LastnameIndividual_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.LastnameIndividual_GotFocus);

            #line default
            #line hidden

            #line 115 "..\..\MainWindow.xaml"
                this.LastnameIndividual_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.LastnameIndividual_LostFocus);

            #line default
            #line hidden

            #line 115 "..\..\MainWindow.xaml"
                this.LastnameIndividual_TextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.LastnameIndividual_TextChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.ThirdnameIndividual_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 116 "..\..\MainWindow.xaml"
                this.ThirdnameIndividual_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.ThirdnameIndividual_GotFocus);

            #line default
            #line hidden

            #line 116 "..\..\MainWindow.xaml"
                this.ThirdnameIndividual_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.ThirdnameIndividual_LostFocus);

            #line default
            #line hidden

            #line 116 "..\..\MainWindow.xaml"
                this.ThirdnameIndividual_TextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TrirdnameIndividual_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.DataBirthdayIndividual_DateTimePicker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));

            #line 121 "..\..\MainWindow.xaml"
                this.DataBirthdayIndividual_DateTimePicker.GotFocus += new System.Windows.RoutedEventHandler(this.DataBirthdayIndividual_GotFocus);

            #line default
            #line hidden

            #line 122 "..\..\MainWindow.xaml"
                this.DataBirthdayIndividual_DateTimePicker.LostFocus += new System.Windows.RoutedEventHandler(this.DataBirthdayIndividual_LostFocus);

            #line default
            #line hidden

            #line 123 "..\..\MainWindow.xaml"
                this.DataBirthdayIndividual_DateTimePicker.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.DataBirthdayIndividual_SelectedDataContextChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.SexIndividual_ComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 138 "..\..\MainWindow.xaml"
                this.SexIndividual_ComboBox.LostFocus += new System.Windows.RoutedEventHandler(this.SexIndividual_LostFocus);

            #line default
            #line hidden
                return;

            case 17:
                this.AddressIndividual_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 142 "..\..\MainWindow.xaml"
                this.AddressIndividual_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.AddressIndividual_GotFocus);

            #line default
            #line hidden

            #line 142 "..\..\MainWindow.xaml"
                this.AddressIndividual_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.AddressIndividual_LostFocus);

            #line default
            #line hidden

            #line 142 "..\..\MainWindow.xaml"
                this.AddressIndividual_TextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.AddressIndividual_TextChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.PhoneIndividual_TextBox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 143 "..\..\MainWindow.xaml"
                this.PhoneIndividual_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.PhoneIndividual_GotFocus);

            #line default
            #line hidden

            #line 143 "..\..\MainWindow.xaml"
                this.PhoneIndividual_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.PhoneIndividual_LostFocus);

            #line default
            #line hidden

            #line 143 "..\..\MainWindow.xaml"
                this.PhoneIndividual_TextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.PhoneIndividual_TextChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.DriveExperienceIndividual_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 144 "..\..\MainWindow.xaml"
                this.DriveExperienceIndividual_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.DriveExperienceIndividual_GotFocus);

            #line default
            #line hidden

            #line 144 "..\..\MainWindow.xaml"
                this.DriveExperienceIndividual_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.DriveExperienceIndividual_LostFocus);

            #line default
            #line hidden

            #line 144 "..\..\MainWindow.xaml"
                this.DriveExperienceIndividual_TextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.DriveExperienceIndividual_TextChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.ImgIndividual_Image = ((System.Windows.Controls.Image)(target));
                return;

            case 21:
                this.SourceImgIndividual_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 146 "..\..\MainWindow.xaml"
                this.SourceImgIndividual_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.SourceImgIndividual_GotFocus);

            #line default
            #line hidden

            #line 146 "..\..\MainWindow.xaml"
                this.SourceImgIndividual_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.SourceImgIndividual_LostFocus);

            #line default
            #line hidden

            #line 146 "..\..\MainWindow.xaml"
                this.SourceImgIndividual_TextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SourceImgIndividual_TextChanged);

            #line default
            #line hidden
                return;

            case 22:

            #line 147 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenFileDialog_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 148 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveIndividual_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 149 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelIndividual_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.CompanyForm = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.NameCompany_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 185 "..\..\MainWindow.xaml"
                this.NameCompany_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.NameCompany_GotFocus);

            #line default
            #line hidden

            #line 185 "..\..\MainWindow.xaml"
                this.NameCompany_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.NameCompany_LostFocus);

            #line default
            #line hidden
                return;

            case 27:
                this.UNNCompany_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 186 "..\..\MainWindow.xaml"
                this.UNNCompany_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.UNNCompany_GotFocus);

            #line default
            #line hidden

            #line 186 "..\..\MainWindow.xaml"
                this.UNNCompany_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.UNNCompany_LostFocus);

            #line default
            #line hidden
                return;

            case 28:
                this.BossFirstname_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 187 "..\..\MainWindow.xaml"
                this.BossFirstname_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.BossFirstname_GotFocus);

            #line default
            #line hidden

            #line 187 "..\..\MainWindow.xaml"
                this.BossFirstname_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.BossFirstname_LostFocus);

            #line default
            #line hidden
                return;

            case 29:
                this.BossLastname_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 188 "..\..\MainWindow.xaml"
                this.BossLastname_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.BossLastname_GotFocus);

            #line default
            #line hidden

            #line 188 "..\..\MainWindow.xaml"
                this.BossLastname_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.BossLastname_LostFocus);

            #line default
            #line hidden
                return;

            case 30:
                this.BossThirdname_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 189 "..\..\MainWindow.xaml"
                this.BossThirdname_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.BossThirdname_GotFocus);

            #line default
            #line hidden

            #line 189 "..\..\MainWindow.xaml"
                this.BossThirdname_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.BossThirdname_LostFocus);

            #line default
            #line hidden
                return;

            case 31:
                this.AccountantFirstname_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 190 "..\..\MainWindow.xaml"
                this.AccountantFirstname_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.AccountantFirstname_GotFocus);

            #line default
            #line hidden

            #line 190 "..\..\MainWindow.xaml"
                this.AccountantFirstname_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.AccountantFirstname_LostFocus);

            #line default
            #line hidden
                return;

            case 32:
                this.AccountantLastname_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 191 "..\..\MainWindow.xaml"
                this.AccountantLastname_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.AccountantLastname_GotFocus);

            #line default
            #line hidden

            #line 191 "..\..\MainWindow.xaml"
                this.AccountantLastname_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.AccountantLastname_LostFocus);

            #line default
            #line hidden
                return;

            case 33:
                this.AccountantThirdname_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 192 "..\..\MainWindow.xaml"
                this.AccountantThirdname_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.AccountantThirdname_GotFocus);

            #line default
            #line hidden

            #line 192 "..\..\MainWindow.xaml"
                this.AccountantThirdname_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.AccountantThirdname_LostFocus);

            #line default
            #line hidden
                return;

            case 34:
                this.AddressCompany_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 193 "..\..\MainWindow.xaml"
                this.AddressCompany_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.AddressCompany_GotFocus);

            #line default
            #line hidden

            #line 193 "..\..\MainWindow.xaml"
                this.AddressCompany_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.AddressCompany_LostFocus);

            #line default
            #line hidden
                return;

            case 35:
                this.PhoneCompany_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 194 "..\..\MainWindow.xaml"
                this.PhoneCompany_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.PhoneCompany_GotFocus);

            #line default
            #line hidden

            #line 194 "..\..\MainWindow.xaml"
                this.PhoneCompany_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.PhoneCompany_LostFocus);

            #line default
            #line hidden
                return;

            case 36:

            #line 195 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveCompany_Click);

            #line default
            #line hidden
                return;

            case 37:

            #line 196 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelCompany_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.PolicyForm = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this.ClientPolicy_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 222 "..\..\MainWindow.xaml"
                this.ClientPolicy_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.ClientPolicy_GotFocus);

            #line default
            #line hidden

            #line 222 "..\..\MainWindow.xaml"
                this.ClientPolicy_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.ClientPolicy_LostFocus);

            #line default
            #line hidden
                return;

            case 40:
                this.CategoryPolicy_ComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 41:
                this.DataStartPolicy_DatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 42:
                this.DataFinishPolicy_DatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 43:
                this.SumPolicy_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 226 "..\..\MainWindow.xaml"
                this.SumPolicy_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.SumPolicy_GotFocus);

            #line default
            #line hidden

            #line 226 "..\..\MainWindow.xaml"
                this.SumPolicy_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.SumPolicy_LostFocus);

            #line default
            #line hidden
                return;

            case 44:
                this.PricePolicy_TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:

            #line 228 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SavePolicy_Click);

            #line default
            #line hidden
                return;

            case 46:

            #line 229 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelPolicy_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.CategoryForm = ((System.Windows.Controls.Grid)(target));
                return;

            case 48:
                this.NameCategory_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 253 "..\..\MainWindow.xaml"
                this.NameCategory_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.NameCategory_GotFocus);

            #line default
            #line hidden

            #line 253 "..\..\MainWindow.xaml"
                this.NameCategory_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.NameCategory_LostFocus);

            #line default
            #line hidden
                return;

            case 49:
                this.AccidentCategory_ComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 50:
                this.MaxSumCategory_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 255 "..\..\MainWindow.xaml"
                this.MaxSumCategory_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.MaxSumCategory_GotFocus);

            #line default
            #line hidden

            #line 255 "..\..\MainWindow.xaml"
                this.MaxSumCategory_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.MaxSumCategory_LostFocus);

            #line default
            #line hidden
                return;

            case 51:
                this.MaxCountDaysCategory_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 256 "..\..\MainWindow.xaml"
                this.MaxCountDaysCategory_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.MaxCountDaysCategory_GotFocus);

            #line default
            #line hidden

            #line 256 "..\..\MainWindow.xaml"
                this.MaxCountDaysCategory_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.MaxCountDaysCategory_LostFocus);

            #line default
            #line hidden
                return;

            case 52:

            #line 257 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveCategory_Click);

            #line default
            #line hidden
                return;

            case 53:

            #line 258 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelCategory_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.AccidentForm = ((System.Windows.Controls.Grid)(target));
                return;

            case 55:
                this.NameAccident_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 278 "..\..\MainWindow.xaml"
                this.NameAccident_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.NameAccident_GotFocus);

            #line default
            #line hidden

            #line 278 "..\..\MainWindow.xaml"
                this.NameAccident_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.NameAccident_LostFocus);

            #line default
            #line hidden
                return;

            case 56:
                this.PercentAccident_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 279 "..\..\MainWindow.xaml"
                this.PercentAccident_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.PercentAccident_GotFocus);

            #line default
            #line hidden

            #line 279 "..\..\MainWindow.xaml"
                this.PercentAccident_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.PercentAccident_LostFocus);

            #line default
            #line hidden
                return;

            case 57:

            #line 280 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveAccident_Click);

            #line default
            #line hidden
                return;

            case 58:

            #line 281 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelAccident_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.ClientAccidentForm = ((System.Windows.Controls.Grid)(target));
                return;

            case 60:
                this.ClientClientAccident_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 303 "..\..\MainWindow.xaml"
                this.ClientClientAccident_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.ClientClientAccident_GotFocus);

            #line default
            #line hidden

            #line 303 "..\..\MainWindow.xaml"
                this.ClientClientAccident_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.ClientClientAccident_LostFocus);

            #line default
            #line hidden
                return;

            case 61:
                this.AccidentClientAccident_ComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 62:
                this.DataClientAccident_DatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 63:

            #line 306 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveClientAccident_Click);

            #line default
            #line hidden
                return;

            case 64:

            #line 307 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelClientAccident_Click);

            #line default
            #line hidden
                return;

            case 65:
                this.ClientInfoForm = ((System.Windows.Controls.Grid)(target));
                return;

            case 66:
                this.ClientIdInfo_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 331 "..\..\MainWindow.xaml"
                this.ClientIdInfo_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.ClientIdInfo_GotFocus);

            #line default
            #line hidden

            #line 331 "..\..\MainWindow.xaml"
                this.ClientIdInfo_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.ClientIdInfo_LostFocus);

            #line default
            #line hidden
                return;

            case 67:
                this.AllClient_CheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 332 "..\..\MainWindow.xaml"
                this.AllClient_CheckBox.Checked += new System.Windows.RoutedEventHandler(this.AllClient_Checked);

            #line default
            #line hidden

            #line 332 "..\..\MainWindow.xaml"
                this.AllClient_CheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.AllClient_Unchecked);

            #line default
            #line hidden
                return;

            case 68:
                this.SourceInfo_TextBox = ((System.Windows.Controls.TextBox)(target));

            #line 333 "..\..\MainWindow.xaml"
                this.SourceInfo_TextBox.GotFocus += new System.Windows.RoutedEventHandler(this.SourceInfo_GotFocus);

            #line default
            #line hidden

            #line 333 "..\..\MainWindow.xaml"
                this.SourceInfo_TextBox.LostFocus += new System.Windows.RoutedEventHandler(this.SourceInfo_LostFocus);

            #line default
            #line hidden
                return;

            case 69:

            #line 334 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenFileDownload_Click);

            #line default
            #line hidden
                return;

            case 70:

            #line 335 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveClientAccident_Click);

            #line default
            #line hidden
                return;

            case 71:

            #line 336 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelClientAccident_Click);

            #line default
            #line hidden
                return;

            case 72:
                this.StatusBar = ((System.Windows.Controls.Grid)(target));
                return;

            case 73:
                this.StatusBar_TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 14
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 2:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.txtBusca = ((System.Windows.Controls.TextBox)(target));
     
     #line 21 "..\..\frmConPro.xaml"
     this.txtBusca.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnBus = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.groupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 6:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.txtRazao = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.txtNome = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.txtImu = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     
     #line 35 "..\..\frmConPro.xaml"
     this.txtImu.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtImu_TextChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.txtIes = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 14:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.txtCnpj = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 16:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 17:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.txtCod = ((System.Windows.Controls.TextBox)(target));
     
     #line 50 "..\..\frmConPro.xaml"
     this.txtCod.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtCod_TextChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.txtData = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 21:
     this.label9 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.txtNomePro = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.label10 = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.txtPreco = ((System.Windows.Controls.TextBox)(target));
     return;
     case 25:
     this.label11 = ((System.Windows.Controls.Label)(target));
     return;
     case 26:
     this.txtPreco_Copy = ((System.Windows.Controls.TextBox)(target));
     return;
     case 27:
     this.btnAlt = ((System.Windows.Controls.Button)(target));
     return;
     case 28:
     this.btnDel = ((System.Windows.Controls.Button)(target));
     return;
     case 29:
     this.btnVol = ((System.Windows.Controls.Button)(target));
     return;
     case 30:
     this.label12 = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.lblStatus = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lblBoletim = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.txtCodigoRenavam = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 3:
                this.txtPlaca = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 4:
                this.txtMunicipio = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.txtUF_Municipio = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 6:
                this.txtChassis = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txtMarca = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txtModelo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.txtAnoFabricacao = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 10:
                this.txtCategoria = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.txtCor_Predominante = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.txtCategoria_CNH = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.txtNR_CNH = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.txtVencimento_CNH = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 15:
                this.txtTipo_Acidente = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.txtCondicao_Pista = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.txtTipo_Pista = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.txtSemaforo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.txtDanos = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.Lanterna_Direita = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 21:
                this.Lanterna_Esquerda = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 22:
                this.Parachoque = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 23:
                this.Espelho_Retrovisor_Esquerdo = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 24:
                this.Espelho_Retrovisor_Direito = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 25:
                this.Porta_Esquerda = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 26:
                this.Porta_Direita = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 27:
                this.Porta_Traseira_Esquerda = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 28:
                this.Porta_Traseira_Direita = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 29:
                this.Topo = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 30:
                this.Lanterna_Traseira_Esquerda = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 31:
                this.Lanterna_Traseira_Direita = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 32:
                this.Parachoque_Traseiro = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 33:
                this.btnCadastrar = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\..\Telas\TelaCadastroVeiculo.xaml"
                this.btnCadastrar.Click += new System.Windows.RoutedEventHandler(this.btnCadastrar_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 16
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.groupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 2:
     this.txtIes = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 3:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.txtRazao = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.txtNome = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.txtCnpj = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 9:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.txtImu = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 11:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 13:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.txtDdd = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 15:
     this.txtNumTel = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 16:
     this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 17:
     this.label11 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.txtCep = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 20:
     this.btnCep = ((System.Windows.Controls.Button)(target));
     
     #line 64 "..\..\frmCadFor.xaml"
     this.btnCep.Click += new System.Windows.RoutedEventHandler(this.btnCep_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.txtEnd = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.txtNumEnd = ((System.Windows.Controls.TextBox)(target));
     return;
     case 25:
     this.label9 = ((System.Windows.Controls.Label)(target));
     return;
     case 26:
     this.txtCom = ((System.Windows.Controls.TextBox)(target));
     return;
     case 27:
     this.label10 = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.txtBai = ((System.Windows.Controls.TextBox)(target));
     return;
     case 29:
     this.txtMun = ((System.Windows.Controls.TextBox)(target));
     return;
     case 30:
     this.label12 = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.txtEst = ((System.Windows.Controls.TextBox)(target));
     return;
     case 32:
     this.btnCadastrar = ((System.Windows.Controls.Button)(target));
     
     #line 76 "..\..\frmCadFor.xaml"
     this.btnCadastrar.Click += new System.Windows.RoutedEventHandler(this.btnCadastrar_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.btnVoltar = ((System.Windows.Controls.Button)(target));
     
     #line 77 "..\..\frmCadFor.xaml"
     this.btnVoltar.Click += new System.Windows.RoutedEventHandler(this.btnVoltar_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.label13 = ((System.Windows.Controls.Label)(target));
     return;
     case 35:
     this.lblStatus = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.main = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.NameCard = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 20 "..\..\..\Windows\Payment.xaml"
                this.NameCard.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NameCard_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 3:
                this.name = ((System.Windows.Controls.TextBox)(target));

            #line 21 "..\..\..\Windows\Payment.xaml"
                this.name.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Name_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 21 "..\..\..\Windows\Payment.xaml"
                this.name.LostFocus += new System.Windows.RoutedEventHandler(this.Name_LostFocus);

            #line default
            #line hidden

            #line 21 "..\..\..\Windows\Payment.xaml"
                this.name.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Name_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 4:
                this.mounth = ((System.Windows.Controls.TextBox)(target));

            #line 22 "..\..\..\Windows\Payment.xaml"
                this.mounth.LostFocus += new System.Windows.RoutedEventHandler(this.Data_LostFocus);

            #line default
            #line hidden

            #line 22 "..\..\..\Windows\Payment.xaml"
                this.mounth.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Mounth_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 22 "..\..\..\Windows\Payment.xaml"
                this.mounth.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Mounth_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 5:
                this.years = ((System.Windows.Controls.TextBox)(target));

            #line 23 "..\..\..\Windows\Payment.xaml"
                this.years.LostFocus += new System.Windows.RoutedEventHandler(this.Years_LostFocus);

            #line default
            #line hidden

            #line 23 "..\..\..\Windows\Payment.xaml"
                this.years.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Years_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 23 "..\..\..\Windows\Payment.xaml"
                this.years.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Years_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 6:
                this.nal = ((System.Windows.Controls.RadioButton)(target));

            #line 28 "..\..\..\Windows\Payment.xaml"
                this.nal.Checked += new System.Windows.RoutedEventHandler(this.Nal_Checked);

            #line default
            #line hidden
                return;

            case 7:
                this.card = ((System.Windows.Controls.RadioButton)(target));

            #line 29 "..\..\..\Windows\Payment.xaml"
                this.card.Checked += new System.Windows.RoutedEventHandler(this.Card_Checked);

            #line default
            #line hidden
                return;

            case 8:

            #line 30 "..\..\..\Windows\Payment.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.none = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\..\Windows\Payment.xaml"
                this.none.Click += new System.Windows.RoutedEventHandler(this.None_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 18
0
        /// <summary>
        /// Method for generating Tokens by Bank Card number
        /// </summary>
        /// <param name="bankNumber">The number of the Bank Card</param>
        /// <param name="textBoxResponse">The text box that will be filled with the generated token</param>
        internal void GenerateToken(string bankNumber, MaskedTextBox textBoxResponse)
        {
            BinaryWriter.Write((int)ActionEnum.GenerateToken);
            if ((ActionEnum)BinaryReader.ReadInt32() == ActionEnum.Denied)
            {
                ProcessError(Constants.ACCESS_DENIED);
            }
            else
            {
                BinaryWriter.Write(bankNumber);
                string response = BinaryReader.ReadString();

                if (response == Constants.INVALID_BANK_CARD_NUMBER)
                {
                    ProcessError(Constants.INVALID_BANK_CARD_NUMBER);
                }
                else if (response == Constants.FAILED_TOKEN_GENERATION)
                {
                    ProcessError(Constants.FAILED_TOKEN_GENERATION);
                }
                else
                {
                    textBoxResponse.Text = response;
                }
            }
        }
Exemplo n.º 19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.exit1 = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\EdinWindow.xaml"
                this.exit1.Click += new System.Windows.RoutedEventHandler(this.exit_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.cmdkt = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.addbt1 = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\EdinWindow.xaml"
                this.addbt1.Click += new System.Windows.RoutedEventHandler(this.addbt_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.indstr = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.nomer_dogovora = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.date_start = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 7:
                this.date_finish = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 8:
                this.premiaNach = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.premiaFin = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.bank = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.prim = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainForm = ((MegaPaint.MainWindow)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.MainForm.Loaded += new System.Windows.RoutedEventHandler(this.MainForm_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.menuFile = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.menuNew = ((System.Windows.Controls.MenuItem)(target));

            #line 51 "..\..\MainWindow.xaml"
                this.menuNew.Click += new System.Windows.RoutedEventHandler(this.menuNew_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.menuOpen = ((System.Windows.Controls.MenuItem)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.menuOpen.Click += new System.Windows.RoutedEventHandler(this.menuOpen_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.menuSave = ((System.Windows.Controls.MenuItem)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.menuSave.Click += new System.Windows.RoutedEventHandler(this.menuSave_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.menuSaveAs = ((System.Windows.Controls.MenuItem)(target));

            #line 54 "..\..\MainWindow.xaml"
                this.menuSaveAs.Click += new System.Windows.RoutedEventHandler(this.menuSaveAs_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.menuExit = ((System.Windows.Controls.MenuItem)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.menuExit.Click += new System.Windows.RoutedEventHandler(this.menuExit_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.menuEdit = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.menuSelectAll = ((System.Windows.Controls.MenuItem)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.menuSelectAll.Click += new System.Windows.RoutedEventHandler(this.menuSelectAll_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.menuDeleteAll = ((System.Windows.Controls.MenuItem)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.menuDeleteAll.Click += new System.Windows.RoutedEventHandler(this.menuDeleteAll_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.menuDelete = ((System.Windows.Controls.MenuItem)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.menuDelete.Click += new System.Windows.RoutedEventHandler(this.menuDelete_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.menuResetRotate = ((System.Windows.Controls.MenuItem)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.menuResetRotate.Click += new System.Windows.RoutedEventHandler(this.menuResetRotate_Click);

            #line default
            #line hidden

            #line 61 "..\..\MainWindow.xaml"
                this.menuResetRotate.Loaded += new System.Windows.RoutedEventHandler(this.menuResetRotate_Loaded);

            #line default
            #line hidden
                return;

            case 13:
                this.menuMoveToFront = ((System.Windows.Controls.MenuItem)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.menuMoveToFront.Click += new System.Windows.RoutedEventHandler(this.menuMoveToFront_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.menuMoveToBack = ((System.Windows.Controls.MenuItem)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.menuMoveToBack.Click += new System.Windows.RoutedEventHandler(this.menuMoveToBack_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.menuLayer = ((System.Windows.Controls.MenuItem)(target));

            #line 65 "..\..\MainWindow.xaml"
                this.menuLayer.Click += new System.Windows.RoutedEventHandler(this.menuLayer_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.Grid_1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.btnCut = ((System.Windows.Controls.Button)(target));

            #line 76 "..\..\MainWindow.xaml"
                this.btnCut.Click += new System.Windows.RoutedEventHandler(this.btnCut_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btnCopy = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\MainWindow.xaml"
                this.btnCopy.Click += new System.Windows.RoutedEventHandler(this.btnCopy_Click);

            #line default
            #line hidden

            #line 77 "..\..\MainWindow.xaml"
                this.btnCopy.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnCopy_IsEnabledChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.btnPaste = ((System.Windows.Controls.Button)(target));

            #line 78 "..\..\MainWindow.xaml"
                this.btnPaste.Click += new System.Windows.RoutedEventHandler(this.btnPaste_Click);

            #line default
            #line hidden

            #line 78 "..\..\MainWindow.xaml"
                this.btnPaste.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnPaste_IsEnabledChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.btnUndo = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.btnUndo.Click += new System.Windows.RoutedEventHandler(this.btnUndo_Click);

            #line default
            #line hidden

            #line 79 "..\..\MainWindow.xaml"
                this.btnUndo.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnUndo_IsEnabledChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.btnRedo = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.btnRedo.Click += new System.Windows.RoutedEventHandler(this.btnRedo_Click);

            #line default
            #line hidden

            #line 80 "..\..\MainWindow.xaml"
                this.btnRedo.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnRedo_IsEnabledChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.btnLine = ((System.Windows.Controls.Button)(target));

            #line 86 "..\..\MainWindow.xaml"
                this.btnLine.Click += new System.Windows.RoutedEventHandler(this.btnLine_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btnRectangle = ((System.Windows.Controls.Button)(target));

            #line 87 "..\..\MainWindow.xaml"
                this.btnRectangle.Click += new System.Windows.RoutedEventHandler(this.btnRectangle_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.btnEllipse = ((System.Windows.Controls.Button)(target));

            #line 88 "..\..\MainWindow.xaml"
                this.btnEllipse.Click += new System.Windows.RoutedEventHandler(this.btnEllipse_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.lblForeground = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.lblBackground = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.lsbForeground = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 104 "..\..\MainWindow.xaml"
                this.lsbForeground.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.lsbForeground_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.lsbBackground = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 105 "..\..\MainWindow.xaml"
                this.lsbBackground.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.lsbBackground_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.Grid_2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:
                this.btnSelect = ((System.Windows.Controls.Button)(target));

            #line 131 "..\..\MainWindow.xaml"
                this.btnSelect.Click += new System.Windows.RoutedEventHandler(this.btnSelect_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.btnPencil = ((System.Windows.Controls.Button)(target));

            #line 132 "..\..\MainWindow.xaml"
                this.btnPencil.Click += new System.Windows.RoutedEventHandler(this.btnPencil_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.btnText = ((System.Windows.Controls.Button)(target));

            #line 133 "..\..\MainWindow.xaml"
                this.btnText.Click += new System.Windows.RoutedEventHandler(this.btnText_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.btnImage = ((System.Windows.Controls.Button)(target));

            #line 134 "..\..\MainWindow.xaml"
                this.btnImage.Click += new System.Windows.RoutedEventHandler(this.btnImage_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.btnRotateLeft = ((System.Windows.Controls.Button)(target));

            #line 144 "..\..\MainWindow.xaml"
                this.btnRotateLeft.Click += new System.Windows.RoutedEventHandler(this.btnRotateLeft_Click);

            #line default
            #line hidden

            #line 144 "..\..\MainWindow.xaml"
                this.btnRotateLeft.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnRotateLeft_IsEnabledChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.btnRotateRight = ((System.Windows.Controls.Button)(target));

            #line 145 "..\..\MainWindow.xaml"
                this.btnRotateRight.Click += new System.Windows.RoutedEventHandler(this.btnRotateRight_Click);

            #line default
            #line hidden

            #line 145 "..\..\MainWindow.xaml"
                this.btnRotateRight.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.btnRotateRight_IsEnabledChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.txtRotate = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 37:
                this.sliderSize = ((System.Windows.Controls.Slider)(target));

            #line 159 "..\..\MainWindow.xaml"
                this.sliderSize.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliderSize_ValueChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.btnTheme = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 164 "..\..\MainWindow.xaml"
                this.btnTheme.Click += new System.Windows.RoutedEventHandler(this.btnTheme_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.cbxNormal = ((System.Windows.Controls.RadioButton)(target));

            #line 172 "..\..\MainWindow.xaml"
                this.cbxNormal.Checked += new System.Windows.RoutedEventHandler(this.cbxNormal_Checked);

            #line default
            #line hidden
                return;

            case 40:
                this.cbxDot = ((System.Windows.Controls.RadioButton)(target));

            #line 173 "..\..\MainWindow.xaml"
                this.cbxDot.Checked += new System.Windows.RoutedEventHandler(this.cbxDot_Checked);

            #line default
            #line hidden
                return;

            case 41:
                this.cbxDash = ((System.Windows.Controls.RadioButton)(target));

            #line 174 "..\..\MainWindow.xaml"
                this.cbxDash.Checked += new System.Windows.RoutedEventHandler(this.cbxDash_Checked);

            #line default
            #line hidden
                return;

            case 42:
                this.cbxDoubleLine = ((System.Windows.Controls.RadioButton)(target));

            #line 175 "..\..\MainWindow.xaml"
                this.cbxDoubleLine.Checked += new System.Windows.RoutedEventHandler(this.cbxDoubleLine_Checked);

            #line default
            #line hidden
                return;

            case 43:
                this.cbxDashArrow = ((System.Windows.Controls.RadioButton)(target));

            #line 176 "..\..\MainWindow.xaml"
                this.cbxDashArrow.Checked += new System.Windows.RoutedEventHandler(this.cbxDashArrow_Checked);

            #line default
            #line hidden
                return;

            case 44:
                this.chkFillBackGround = ((System.Windows.Controls.CheckBox)(target));

            #line 181 "..\..\MainWindow.xaml"
                this.chkFillBackGround.Checked += new System.Windows.RoutedEventHandler(this.chkFillBackGround_Checked);

            #line default
            #line hidden

            #line 181 "..\..\MainWindow.xaml"
                this.chkFillBackGround.Unchecked += new System.Windows.RoutedEventHandler(this.chkFillBackGround_Unchecked);

            #line default
            #line hidden
                return;

            case 45:
                this.ExpFilledCustom = ((System.Windows.Controls.Expander)(target));
                return;

            case 46:
                this.btnFilledSolid = ((System.Windows.Controls.Button)(target));

            #line 187 "..\..\MainWindow.xaml"
                this.btnFilledSolid.Click += new System.Windows.RoutedEventHandler(this.btnFilledSolid_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.btnFilledGradient = ((System.Windows.Controls.Button)(target));

            #line 192 "..\..\MainWindow.xaml"
                this.btnFilledGradient.Click += new System.Windows.RoutedEventHandler(this.btnFilledGradient_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.btnFilledHatch = ((System.Windows.Controls.Button)(target));

            #line 202 "..\..\MainWindow.xaml"
                this.btnFilledHatch.Click += new System.Windows.RoutedEventHandler(this.btnFilledHatch_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.btnFilledTexture = ((System.Windows.Controls.Button)(target));

            #line 203 "..\..\MainWindow.xaml"
                this.btnFilledTexture.Click += new System.Windows.RoutedEventHandler(this.btnFilledTexture_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.btnTriangle = ((System.Windows.Controls.Button)(target));

            #line 224 "..\..\MainWindow.xaml"
                this.btnTriangle.Click += new System.Windows.RoutedEventHandler(this.btnTriangle_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.btnRightTriangle = ((System.Windows.Controls.Button)(target));

            #line 225 "..\..\MainWindow.xaml"
                this.btnRightTriangle.Click += new System.Windows.RoutedEventHandler(this.btnRightTriangle_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.btnRoundedRectangle = ((System.Windows.Controls.Button)(target));

            #line 226 "..\..\MainWindow.xaml"
                this.btnRoundedRectangle.Click += new System.Windows.RoutedEventHandler(this.btnRoundedRectangle_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.btnArrow = ((System.Windows.Controls.Button)(target));

            #line 227 "..\..\MainWindow.xaml"
                this.btnArrow.Click += new System.Windows.RoutedEventHandler(this.btnArrow_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.btnStar = ((System.Windows.Controls.Button)(target));

            #line 228 "..\..\MainWindow.xaml"
                this.btnStar.Click += new System.Windows.RoutedEventHandler(this.btnStar_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.DrawArea = ((MegaPaint.DrawArea)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AddUpdateDeleteClientWindow = ((Clients.MainWindow)(target));
                return;

            case 2:
                this.SurnameTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.NameTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.PatronimicTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.BirthDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 6:
                this.PassportSeriesTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.AuthorityTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.IssueDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.IdentificationNumberMaskedTextbox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 10:
                this.PlaceOfBirthTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.LocationCombobox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.AddressTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.PhoneNumberMaskedTextbox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 14:
                this.MobileNumberMaskedTextbox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 15:
                this.EmailTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.RegistrationCityTextbox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.MaritualStatusCombobox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.NationalityCombobox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.DisabilityCombobox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 20:
                this.PensionerCheckbox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.MonthlyIncomeMaskedTextbox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 22:
                this.AddButton = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.SaveButton = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.DeleteButton = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.ListButton = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.ListButton.Click += new System.Windows.RoutedEventHandler(this.ListButton_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.ClearButton = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.ClearButton.Click += new System.Windows.RoutedEventHandler(this.ClearButton_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.GenderGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 28:
                this.MaleGenderRadioButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 29:
                this.FemaleGenderRadioButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 30:
                this.PassportNumberMaskedTextbox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 22
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.FBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.LName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.LBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.Social = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.SBox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 7:
                this.Dob = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.DOBBox = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 9:
                this.UName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.UBox = ((System.Windows.Controls.TextBox)(target));

            #line 70 "..\..\NewUser.xaml"
                this.UBox.LostFocus += new System.Windows.RoutedEventHandler(this.UBox_LostFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.uTool = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.Pword = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.PBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.pTool = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.ConfPword = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.CPBox = ((System.Windows.Controls.TextBox)(target));

            #line 79 "..\..\NewUser.xaml"
                this.CPBox.LostFocus += new System.Windows.RoutedEventHandler(this.CPBox_LostFocus);

            #line default
            #line hidden
                return;

            case 17:
                this.PCP = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.PCPBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.IP = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.IPBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.Allergies = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.soy = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.dairy = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.nut = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.fish = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.gluten = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 27:
                this.egg = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.create_account_button = ((System.Windows.Controls.Button)(target));

            #line 99 "..\..\NewUser.xaml"
                this.create_account_button.Click += new System.Windows.RoutedEventHandler(this.create_account_button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridCadastrarUsuario = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.txtNome = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.txtRE = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 4:
                this.pswSenha = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 5:
                this.cmbPermissao = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.Administrador = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 63 "..\..\..\Telas\TelaCadastroFuncionario.xaml"
                this.Administrador.Selected += new System.Windows.RoutedEventHandler(this.Administrador_Selected);

            #line default
            #line hidden
                return;

            case 7:
                this.Usuario = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 64 "..\..\..\Telas\TelaCadastroFuncionario.xaml"
                this.Usuario.Selected += new System.Windows.RoutedEventHandler(this.Usuario_Selected);

            #line default
            #line hidden
                return;

            case 8:
                this.Chefe = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 65 "..\..\..\Telas\TelaCadastroFuncionario.xaml"
                this.Chefe.Selected += new System.Windows.RoutedEventHandler(this.Chefe_Selected);

            #line default
            #line hidden
                return;

            case 9:
                this.btnCadastrar = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\..\Telas\TelaCadastroFuncionario.xaml"
                this.btnCadastrar.Click += new System.Windows.RoutedEventHandler(this.btnCadastrar_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\Janelas\Agenda.xaml"
                ((BarberSystem.Janelas.Agenda)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.txtCodigo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.txtCliente = ((System.Windows.Controls.TextBox)(target));

            #line 21 "..\..\..\Janelas\Agenda.xaml"
                this.txtCliente.GotFocus += new System.Windows.RoutedEventHandler(this.txtCliente_GotFocus);

            #line default
            #line hidden

            #line 21 "..\..\..\Janelas\Agenda.xaml"
                this.txtCliente.LostFocus += new System.Windows.RoutedEventHandler(this.txtCliente_LostFocus);

            #line default
            #line hidden
                return;

            case 6:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.txtDescricao = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.MtxtHinicio = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 11:
                this.MtxtHfim = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 12:
                this.label_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.label_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.dpData = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 15:
                this.cbBarbeiro = ((System.Windows.Controls.ComboBox)(target));

            #line 31 "..\..\..\Janelas\Agenda.xaml"
                this.cbBarbeiro.DropDownClosed += new System.EventHandler(this.cbBarbeiro_DropDownClosed);

            #line default
            #line hidden
                return;

            case 16:
                this.label_Copy6 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.btnNovo = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\..\Janelas\Agenda.xaml"
                this.btnNovo.Click += new System.Windows.RoutedEventHandler(this.btnCadastrar_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btnAlterar = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\..\Janelas\Agenda.xaml"
                this.btnAlterar.Click += new System.Windows.RoutedEventHandler(this.btnAlterar_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btnExcluir = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\..\Janelas\Agenda.xaml"
                this.btnExcluir.Click += new System.Windows.RoutedEventHandler(this.btnExcluir_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btnGravar = ((System.Windows.Controls.Button)(target));

            #line 82 "..\..\..\Janelas\Agenda.xaml"
                this.btnGravar.Click += new System.Windows.RoutedEventHandler(this.btnGravar_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btnLimpar = ((System.Windows.Controls.Button)(target));

            #line 96 "..\..\..\Janelas\Agenda.xaml"
                this.btnLimpar.Click += new System.Windows.RoutedEventHandler(this.btnLimpar_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btnExportar = ((System.Windows.Controls.Button)(target));

            #line 110 "..\..\..\Janelas\Agenda.xaml"
                this.btnExportar.Click += new System.Windows.RoutedEventHandler(this.btnExportar_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btnVoltar = ((System.Windows.Controls.Button)(target));

            #line 124 "..\..\..\Janelas\Agenda.xaml"
                this.btnVoltar.Click += new System.Windows.RoutedEventHandler(this.btnVoltar_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.dgAgendamento = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 25:
                this.label_Copy7 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.txtCodBarbeiro = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.btnPesquisar = ((System.Windows.Controls.Button)(target));

            #line 153 "..\..\..\Janelas\Agenda.xaml"
                this.btnPesquisar.Click += new System.Windows.RoutedEventHandler(this.BtnPesquisar_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.label_Copy8 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.dpCurrent = ((System.Windows.Controls.DatePicker)(target));

            #line 168 "..\..\..\Janelas\Agenda.xaml"
                this.dpCurrent.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dpCurrent_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.cbCodCliente = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:
                this.txtCodCliente = ((System.Windows.Controls.TextBox)(target));

            #line 170 "..\..\..\Janelas\Agenda.xaml"
                this.txtCodCliente.GotFocus += new System.Windows.RoutedEventHandler(this.txtCodCliente_GotFocus);

            #line default
            #line hidden
                return;

            case 32:
                this.cbPesquisar = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Txt_Nome = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.Txt_Sobrenome = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.Txt_Cpf = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 4:
                this.Txt_Datanascimento = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 5:
                this.Txt_Cep = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 6:
                this.Txt_Endereco = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.Txt_Numero = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.Txt_Complemento = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.Txt_Cidade = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.Txt_Estado = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:

            #line 43 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 44 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 13:
                this.lista = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Nome = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.DataNascimento = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 3:
                this.Email = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.Telefone = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 5:
                this.Celular = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 6:
                this.AlunoResponsavel = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 208 "..\..\CadastrarAluno.xaml"
                this.AlunoResponsavel.Click += new System.Windows.RoutedEventHandler(this.AlunoResponsavel_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.CPF = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 8:
                this.InfoResponsavel = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.NomeResp1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.DataNascimentoResp1 = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 11:
                this.EmailResp1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.TelefoneResp1 = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 13:
                this.CelularResp1 = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 14:
                this.NomeResp2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.DataNascimentoResp2 = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 16:
                this.EmailResp2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.TelefoneResp2 = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 18:
                this.CelularResp2 = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 19:
                this.BtnCadastrar = ((System.Windows.Controls.Button)(target));
                return;

            case 20:
                this.BtnCancelar = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 27
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 2:
     this.label16 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.txtCnpj = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 4:
     this.btnFor = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\frmCadPro.xaml"
     this.btnFor.Click += new System.Windows.RoutedEventHandler(this.btnFor_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.groupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 6:
     this.txtRazao = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.label17 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label18 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.txtNome = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.txtImu = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 11:
     this.txtIes = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 12:
     this.label19 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.lblStatus = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.label20 = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.txtNomePro = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.txtPreco = ((System.Windows.Controls.TextBox)(target));
     
     #line 49 "..\..\frmCadPro.xaml"
     this.txtPreco.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPreco_TextChanged);
     
     #line default
     #line hidden
     
     #line 49 "..\..\frmCadPro.xaml"
     this.txtPreco.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtPreco_KeyDown);
     
     #line default
     #line hidden
     
     #line 49 "..\..\frmCadPro.xaml"
     this.txtPreco.LostFocus += new System.Windows.RoutedEventHandler(this.txtPreco_LostFocus);
     
     #line default
     #line hidden
     return;
     case 19:
     this.btnCad = ((System.Windows.Controls.Button)(target));
     
     #line 50 "..\..\frmCadPro.xaml"
     this.btnCad.Click += new System.Windows.RoutedEventHandler(this.btnCad_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.btnVol = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\frmCadPro.xaml"
     this.btnVol.Click += new System.Windows.RoutedEventHandler(this.btnVol_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.label1_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.label2_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.label2_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 25:
     this.txtFrete = ((System.Windows.Controls.TextBox)(target));
     
     #line 56 "..\..\frmCadPro.xaml"
     this.txtFrete.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtFrete_TextChanged);
     
     #line default
     #line hidden
     return;
     case 26:
     this.txtICMS = ((System.Windows.Controls.TextBox)(target));
     
     #line 57 "..\..\frmCadPro.xaml"
     this.txtICMS.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtICMS_TextChanged);
     
     #line default
     #line hidden
     return;
     case 27:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.txtQtd = ((System.Windows.Controls.TextBox)(target));
     
     #line 59 "..\..\frmCadPro.xaml"
     this.txtQtd.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtQtd_KeyDown);
     
     #line default
     #line hidden
     
     #line 59 "..\..\frmCadPro.xaml"
     this.txtQtd.LostFocus += new System.Windows.RoutedEventHandler(this.txtQtd_LostFocus);
     
     #line default
     #line hidden
     return;
     case 29:
     this.txtPrecoTotal = ((System.Windows.Controls.TextBox)(target));
     
     #line 60 "..\..\frmCadPro.xaml"
     this.txtPrecoTotal.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPrecoTotal_TextChanged);
     
     #line default
     #line hidden
     
     #line 60 "..\..\frmCadPro.xaml"
     this.txtPrecoTotal.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtPrecoTotal_KeyDown);
     
     #line default
     #line hidden
     return;
     case 30:
     this.txtData = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 31:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 28
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.groupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 2:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 3:
     this.txtCod = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 5:
     this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 24 "..\..\frmConFor.xaml"
     this.dataGrid.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnBus = ((System.Windows.Controls.Button)(target));
     
     #line 33 "..\..\frmConFor.xaml"
     this.btnBus.Click += new System.Windows.RoutedEventHandler(this.btnBus_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnAlt = ((System.Windows.Controls.Button)(target));
     
     #line 34 "..\..\frmConFor.xaml"
     this.btnAlt.Click += new System.Windows.RoutedEventHandler(this.btnAlt_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnDel = ((System.Windows.Controls.Button)(target));
     
     #line 35 "..\..\frmConFor.xaml"
     this.btnDel.Click += new System.Windows.RoutedEventHandler(this.btnDel_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnVol = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\frmConFor.xaml"
     this.btnVol.Click += new System.Windows.RoutedEventHandler(this.btnVol_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btnCep = ((System.Windows.Controls.Button)(target));
     return;
     case 11:
     this.txtCom = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.txtBusca = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.txtRazao = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.txtNome = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.txtImu = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 16:
     this.txtIes = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 17:
     this.txtDdd = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 18:
     this.txtNumTel = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 19:
     this.txtCep = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 20:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.label_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.txtEnd = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.txtNumEnd = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.txtEst = ((System.Windows.Controls.TextBox)(target));
     return;
     case 25:
     this.txtBai = ((System.Windows.Controls.TextBox)(target));
     return;
     case 26:
     this.txtMun = ((System.Windows.Controls.TextBox)(target));
     return;
     case 27:
     this.label_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.label_Copy2 = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.label_Copy3 = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.label_Copy4 = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 32:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 33:
     this.label2_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.label2_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 35:
     this.label2_Copy2 = ((System.Windows.Controls.Label)(target));
     return;
     case 36:
     this.label2_Copy3 = ((System.Windows.Controls.Label)(target));
     return;
     case 37:
     this.label2_Copy4 = ((System.Windows.Controls.Label)(target));
     return;
     case 38:
     this.label2_Copy5 = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.label2_Copy6 = ((System.Windows.Controls.Label)(target));
     return;
     case 40:
     this.lblStatus = ((System.Windows.Controls.Label)(target));
     return;
     case 41:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 42:
     this.txtCnpj = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 29
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.txtCodigo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.txtNome = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.txtEndereco = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.txtNumero = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.cbEstado = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.label_Copy6 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.btnNovo = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\..\..\Janelas\Clientes.xaml"
                this.btnNovo.Click += new System.Windows.RoutedEventHandler(this.btnNovo_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnAlterar = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\..\..\Janelas\Clientes.xaml"
                this.btnAlterar.Click += new System.Windows.RoutedEventHandler(this.btnAlterar_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnExcluir = ((System.Windows.Controls.Button)(target));

            #line 88 "..\..\..\..\Janelas\Clientes.xaml"
                this.btnExcluir.Click += new System.Windows.RoutedEventHandler(this.btnExcluir_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnGravar = ((System.Windows.Controls.Button)(target));

            #line 102 "..\..\..\..\Janelas\Clientes.xaml"
                this.btnGravar.Click += new System.Windows.RoutedEventHandler(this.btnGravar_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnLimpar = ((System.Windows.Controls.Button)(target));

            #line 116 "..\..\..\..\Janelas\Clientes.xaml"
                this.btnLimpar.Click += new System.Windows.RoutedEventHandler(this.btnLimpar_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnExportar = ((System.Windows.Controls.Button)(target));

            #line 130 "..\..\..\..\Janelas\Clientes.xaml"
                this.btnExportar.Click += new System.Windows.RoutedEventHandler(this.btnExportar_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btnVoltar = ((System.Windows.Controls.Button)(target));

            #line 144 "..\..\..\..\Janelas\Clientes.xaml"
                this.btnVoltar.Click += new System.Windows.RoutedEventHandler(this.btnVoltar_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.dgCliente = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 19:
                this.btnPesquisar = ((System.Windows.Controls.Button)(target));

            #line 173 "..\..\..\..\Janelas\Clientes.xaml"
                this.btnPesquisar.Click += new System.Windows.RoutedEventHandler(this.btnPesquisar_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.label_Copy8 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.txtPesquisar = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.txtCidade = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.label_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.MtxtCep = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 26:
                this.cbSexo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 27:
                this.label_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.label_Copy7 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.MtxtCelular = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 30:
                this.label_Copy9 = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.txtBairro = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.label_Copy10 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.MtxtTelefone = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 30
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UC = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 2:
     this.mdpDate = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 3:
     this.aPopup = ((RF.WinApp.AdornedPopup)(target));
     return;
     case 4:
     this.calDatePopupBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 5:
     this.calDate = ((System.Windows.Controls.Calendar)(target));
     
     #line 22 "..\..\..\UC\DateInputUC.xaml"
     this.calDate.SelectedDatesChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.calDate_SelectedDatesChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\Pages\StudentsPage.xaml"
                ((TestTaskDomKofe.Pages.StudentsPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lstStudent = ((System.Windows.Controls.ListView)(target));

            #line 30 "..\..\..\Pages\StudentsPage.xaml"
                this.lstStudent.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstStudent_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:

            #line 102 "..\..\..\Pages\StudentsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 4:

            #line 103 "..\..\..\Pages\StudentsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButtonName_Checked);

            #line default
            #line hidden
                return;

            case 5:

            #line 104 "..\..\..\Pages\StudentsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButtonYear_Checked);

            #line default
            #line hidden
                return;

            case 6:

            #line 105 "..\..\..\Pages\StudentsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButtonСlass_Checked);

            #line default
            #line hidden
                return;

            case 7:
                this.cbSubject = ((System.Windows.Controls.ComboBox)(target));

            #line 110 "..\..\..\Pages\StudentsPage.xaml"
                this.cbSubject.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbSubject_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.cbTeachers = ((System.Windows.Controls.ComboBox)(target));

            #line 111 "..\..\..\Pages\StudentsPage.xaml"
                this.cbTeachers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbTeachers_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.cbClassFilter = ((System.Windows.Controls.ComboBox)(target));

            #line 112 "..\..\..\Pages\StudentsPage.xaml"
                this.cbClassFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbClassFilter_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:

            #line 113 "..\..\..\Pages\StudentsPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddStudent_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 114 "..\..\..\Pages\StudentsPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteStudent);

            #line default
            #line hidden
                return;

            case 12:

            #line 115 "..\..\..\Pages\StudentsPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateStudent_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.gridCarDetails = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:
                this.txtFIO = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.txtDateOfBirth = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 16:
                this.txtAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.txtPhone = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 18:
                this.cbClass = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.txtStudentId = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.txMiddle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.txtError = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        public FrameworkElement CreateExtendedToolkitControl(PropertyDefinition propertyDefinition, string bindingPath)
        {
            var propertyType = propertyDefinition.PropertyType;
            if (propertyType.Is(typeof(DateTime)))
            {
                var c = new DateTimePicker()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(DateTimePicker.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(TimeSpan)))
            {
                var c = new TimeSpanUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(TimeSpanUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(int)) || propertyType.Is(typeof(int?)))
            {
                var c = new CalculatorUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Minimum = int.MinValue,
                    Maximum = int.MaxValue,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(CalculatorUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(uint)) || propertyType.Is(typeof(uint?)))
            {
                var c = new CalculatorUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Minimum = 0,
                    Maximum = uint.MaxValue,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(CalculatorUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(decimal)) || propertyType.Is(typeof(decimal?)))
            {
                var c = new CalculatorUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Minimum = decimal.MinValue,
                    Maximum = decimal.MaxValue,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(CalculatorUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(Single)) || propertyType.Is(typeof(Single?)))
            {
                var c = new CalculatorUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Minimum = decimal.MinValue,
                    Maximum = decimal.MaxValue,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(CalculatorUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(double)) || propertyType.Is(typeof(double?)))
            {
                var c = new CalculatorUpDown()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Minimum = decimal.MinValue,
                    Maximum = decimal.MaxValue,
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(CalculatorUpDown.ValueProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(Brush)))
            {
                var c = new ColorBox.ColorBox()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                };
                c.SetBinding(ColorBox.ColorBox.BrushProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(Guid)) || propertyType.Is(typeof(Guid?)))
            {
                var c = new MaskedTextBox()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Mask = "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA",
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(MaskedTextBox.TextProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            if (propertyType.Is(typeof(char)) || propertyType.Is(typeof(char?)))
            {
                var c = new MaskedTextBox()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    HorizontalAlignment = HorizontalAlignment.Stretch,
                    Mask = "&",
                    IsReadOnly = propertyDefinition.IsReadOnly
                };
                c.SetBinding(MaskedTextBox.TextProperty, propertyDefinition.CreateBinding(bindingPath));
                return c;
            }

            return null;
        }
Exemplo n.º 33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.processing_search_page = ((VTManager.Processing_Search)(target));

            #line 11 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.processing_search_page.Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.processing_scores_dg = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 3:
                this.page_header = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.data_header = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.searching_items = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.date_field = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 42 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.date_field.GotFocus += new System.Windows.RoutedEventHandler(this.date_field_GotFocus);

            #line default
            #line hidden
                return;

            case 7:
                this.personal_field = ((System.Windows.Controls.TextBox)(target));

            #line 43 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.personal_field.GotFocus += new System.Windows.RoutedEventHandler(this.personal_field_GotFocus);

            #line default
            #line hidden

            #line 43 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.personal_field.LostFocus += new System.Windows.RoutedEventHandler(this.personal_field_LostFocus);

            #line default
            #line hidden

            #line 43 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.personal_field.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.personal_field_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 8:
                this.plan_field = ((System.Windows.Controls.TextBox)(target));

            #line 44 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.plan_field.GotFocus += new System.Windows.RoutedEventHandler(this.wshop_field_GotFocus);

            #line default
            #line hidden

            #line 44 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.plan_field.LostFocus += new System.Windows.RoutedEventHandler(this.wshop_field_LostFocus);

            #line default
            #line hidden

            #line 44 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.plan_field.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.plan_field_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 9:
                this.shift_field = ((System.Windows.Controls.TextBox)(target));

            #line 45 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.shift_field.GotFocus += new System.Windows.RoutedEventHandler(this.shift_field_GotFocus);

            #line default
            #line hidden

            #line 45 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.shift_field.LostFocus += new System.Windows.RoutedEventHandler(this.shift_field_LostFocus);

            #line default
            #line hidden

            #line 45 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.shift_field.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.shift_field_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 10:
                this.vt_field = ((System.Windows.Controls.TextBox)(target));

            #line 46 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.vt_field.GotFocus += new System.Windows.RoutedEventHandler(this.vt_field_GotFocus);

            #line default
            #line hidden

            #line 46 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.vt_field.LostFocus += new System.Windows.RoutedEventHandler(this.vt_field_LostFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.search_button = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.search_button.Click += new System.Windows.RoutedEventHandler(this.search_button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.service_items = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.export_button = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.export_button.Click += new System.Windows.RoutedEventHandler(this.export_button_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.export_button_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.print_button = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.print_button.Click += new System.Windows.RoutedEventHandler(this.print_button_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.print_button_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.done_button = ((System.Windows.Controls.Button)(target));

            #line 89 "..\..\..\ProcessingPages\Processing_Search.xaml"
                this.done_button.Click += new System.Windows.RoutedEventHandler(this.done_button_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.done_button_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.debug_textbox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 34
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.grdAltaCliente = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.cvBienvenida = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.cvAltaCliente = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.btnGuardar = ((System.Windows.Controls.Button)(target));
     
     #line 151 "..\..\MainWindow.xaml"
     this.btnGuardar.Click += new System.Windows.RoutedEventHandler(this.btnGuardar_Click);
     
     #line default
     #line hidden
     
     #line 151 "..\..\MainWindow.xaml"
     this.btnGuardar.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnGuardar_MouseEnter);
     
     #line default
     #line hidden
     
     #line 151 "..\..\MainWindow.xaml"
     this.btnGuardar.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnGuardar_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnCancelar = ((System.Windows.Controls.Button)(target));
     
     #line 152 "..\..\MainWindow.xaml"
     this.btnCancelar.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnCancelar_MouseEnter);
     
     #line default
     #line hidden
     
     #line 152 "..\..\MainWindow.xaml"
     this.btnCancelar.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnCancelar_MouseLeave);
     
     #line default
     #line hidden
     
     #line 152 "..\..\MainWindow.xaml"
     this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.lblNombre = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.lblTelefono = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.lblCelSec = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.lblCorreo = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.lblMunicipio = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.lblEstado = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.lblColonia = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.lblTurno = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.lblSector = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.lblClave = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.cbSector = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 17:
     this.cbTurno = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 18:
     this.tbNombre = ((System.Windows.Controls.TextBox)(target));
     return;
     case 19:
     this.cbEstados = ((System.Windows.Controls.ComboBox)(target));
     
     #line 166 "..\..\MainWindow.xaml"
     this.cbEstados.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbEstados_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 20:
     this.tbCelular = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 21:
     this.tbClave = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.tbTelefono = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 23:
     this.tbCorreoElectronico = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.cbMunicipios = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 25:
     this.tbColonia = ((System.Windows.Controls.TextBox)(target));
     return;
     case 26:
     this.lblAltaCliente = ((System.Windows.Controls.Label)(target));
     return;
     case 27:
     this.lblClabeInterna = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.tbClaveInterna = ((System.Windows.Controls.TextBox)(target));
     return;
     case 29:
     this.lblNombreInstitucion = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.tbNombreInstitucion = ((System.Windows.Controls.TextBox)(target));
     return;
     case 31:
     this.lblNivelEscolar = ((System.Windows.Controls.Label)(target));
     return;
     case 32:
     this.rbJardinDeNinos = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 33:
     this.rbPrimaria = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 34:
     this.rbSecundaria = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 35:
     this.rbPreparatoria = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 36:
     this.rbUniversidad = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 37:
     this.cvConsultaCliente = ((System.Windows.Controls.Canvas)(target));
     return;
     case 38:
     this.tbbuscar = ((System.Windows.Controls.TextBox)(target));
     
     #line 190 "..\..\MainWindow.xaml"
     this.tbbuscar.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbbuscar_TextChanged);
     
     #line default
     #line hidden
     return;
     case 39:
     this.lblConsultaCliente = ((System.Windows.Controls.Label)(target));
     return;
     case 40:
     this.btnBuscar = ((System.Windows.Controls.Button)(target));
     return;
     case 41:
     this.dgConsulta = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 42:
     this.pnlLeftMenu = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 43:
     this.lblUsuario = ((System.Windows.Controls.Label)(target));
     return;
     case 44:
     this.btnAgregarUsuario = ((System.Windows.Controls.Button)(target));
     
     #line 202 "..\..\MainWindow.xaml"
     this.btnAgregarUsuario.Click += new System.Windows.RoutedEventHandler(this.btnAgregarUsuario_Click);
     
     #line default
     #line hidden
     return;
     case 45:
     this.btnConsultaUsuario = ((System.Windows.Controls.Button)(target));
     
     #line 203 "..\..\MainWindow.xaml"
     this.btnConsultaUsuario.Click += new System.Windows.RoutedEventHandler(this.btnConsultaUsuario_Click);
     
     #line default
     #line hidden
     return;
     case 46:
     this.lblUsuario2 = ((System.Windows.Controls.Label)(target));
     return;
     case 47:
     this.btnLeftMenuHide = ((System.Windows.Controls.Button)(target));
     
     #line 210 "..\..\MainWindow.xaml"
     this.btnLeftMenuHide.Click += new System.Windows.RoutedEventHandler(this.btnLeftMenuHide_Click);
     
     #line default
     #line hidden
     return;
     case 48:
     this.btnLeftMenuShow = ((System.Windows.Controls.Button)(target));
     
     #line 211 "..\..\MainWindow.xaml"
     this.btnLeftMenuShow.Click += new System.Windows.RoutedEventHandler(this.btnLeftMenuShow_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\Views\frmListarUsuario.xaml"
                ((Agenda_WPF.Views.frmListarUsuario)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Windos_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lblUsrLogado = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.mn_Principal = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 4:
                this.imgAngio = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.btnFechar = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\..\..\Views\frmListarUsuario.xaml"
                this.btnFechar.Click += new System.Windows.RoutedEventHandler(this.btnFechar_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.rdoCpf = ((System.Windows.Controls.RadioButton)(target));

            #line 38 "..\..\..\..\Views\frmListarUsuario.xaml"
                this.rdoCpf.Checked += new System.Windows.RoutedEventHandler(this.rdoCpf_Checked);

            #line default
            #line hidden
                return;

            case 7:
                this.rdoEmail = ((System.Windows.Controls.RadioButton)(target));

            #line 39 "..\..\..\..\Views\frmListarUsuario.xaml"
                this.rdoEmail.Checked += new System.Windows.RoutedEventHandler(this.rdoEmail_Checked);

            #line default
            #line hidden
                return;

            case 8:
                this.rdoNome = ((System.Windows.Controls.RadioButton)(target));

            #line 40 "..\..\..\..\Views\frmListarUsuario.xaml"
                this.rdoNome.Checked += new System.Windows.RoutedEventHandler(this.rdoNome_Checked);

            #line default
            #line hidden
                return;

            case 9:
                this.dtgListaUsuarios = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 10:
                this.mskCpf = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 11:
                this.txtFiltro = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.btnFiltrar = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\..\..\Views\frmListarUsuario.xaml"
                this.btnFiltrar.Click += new System.Windows.RoutedEventHandler(this.btnFiltrar_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnAlterar = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\..\..\Views\frmListarUsuario.xaml"
                this.btnAlterar.Click += new System.Windows.RoutedEventHandler(this.btnAlterar_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnExcluir = ((System.Windows.Controls.Button)(target));

            #line 65 "..\..\..\..\Views\frmListarUsuario.xaml"
                this.btnExcluir.Click += new System.Windows.RoutedEventHandler(this.btnExcluir_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnCancelar = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\..\..\Views\frmListarUsuario.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnLimparFiltro = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\..\..\Views\frmListarUsuario.xaml"
                this.btnLimparFiltro.Click += new System.Windows.RoutedEventHandler(this.btnLimpar_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 36
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UC = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 2:
     this.mdpDate = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     
     #line 154 "..\..\..\..\UC\DateInputUC.xaml"
     this.mdpDate.AddHandler(System.Windows.Input.Mouse.PreviewMouseDownEvent, new System.Windows.Input.MouseButtonEventHandler(this.mdpDate_PreviewMouseDown));
     
     #line default
     #line hidden
     
     #line 154 "..\..\..\..\UC\DateInputUC.xaml"
     this.mdpDate.LostFocus += new System.Windows.RoutedEventHandler(this.mdpDate_LostFocus);
     
     #line default
     #line hidden
     return;
     case 3:
     this.calDatePopup = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.calDatePopupBorder = ((System.Windows.Controls.Border)(target));
     
     #line 158 "..\..\..\..\UC\DateInputUC.xaml"
     this.calDatePopupBorder.GotFocus += new System.Windows.RoutedEventHandler(this.calDatePopupBorder_GotFocus);
     
     #line default
     #line hidden
     return;
     case 5:
     this.calDate = ((System.Windows.Controls.Calendar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 37
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 19 "..\..\frmConProd.xaml"
     this.dataGrid.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 2:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.txtBusca = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.btnBus = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\frmConProd.xaml"
     this.btnBus.Click += new System.Windows.RoutedEventHandler(this.btnBus_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.groupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 6:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.txtRazao = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.txtNome = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.txtImu = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 12:
     this.txtIes = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 13:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.txtCnpj = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 15:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 16:
     this.label12 = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.lblStatus = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.txtCod = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.txtData = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     return;
     case 22:
     this.label9 = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.txtNomePro = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.label10 = ((System.Windows.Controls.Label)(target));
     return;
     case 25:
     this.txtPreco = ((System.Windows.Controls.TextBox)(target));
     
     #line 67 "..\..\frmConProd.xaml"
     this.txtPreco.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtPreco_KeyDown);
     
     #line default
     #line hidden
     
     #line 67 "..\..\frmConProd.xaml"
     this.txtPreco.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPreco_TextChanged);
     
     #line default
     #line hidden
     
     #line 67 "..\..\frmConProd.xaml"
     this.txtPreco.LostFocus += new System.Windows.RoutedEventHandler(this.txtPreco_LostFocus);
     
     #line default
     #line hidden
     return;
     case 26:
     this.label11 = ((System.Windows.Controls.Label)(target));
     return;
     case 27:
     this.txtQtd = ((System.Windows.Controls.TextBox)(target));
     
     #line 69 "..\..\frmConProd.xaml"
     this.txtQtd.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtQtd_KeyDown);
     
     #line default
     #line hidden
     
     #line 69 "..\..\frmConProd.xaml"
     this.txtQtd.LostFocus += new System.Windows.RoutedEventHandler(this.txtQtd_LostFocus_1);
     
     #line default
     #line hidden
     return;
     case 28:
     this.btnAlt = ((System.Windows.Controls.Button)(target));
     
     #line 70 "..\..\frmConProd.xaml"
     this.btnAlt.Click += new System.Windows.RoutedEventHandler(this.btnAlt_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.btnDel = ((System.Windows.Controls.Button)(target));
     
     #line 71 "..\..\frmConProd.xaml"
     this.btnDel.Click += new System.Windows.RoutedEventHandler(this.btnDel_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.btnVol = ((System.Windows.Controls.Button)(target));
     
     #line 72 "..\..\frmConProd.xaml"
     this.btnVol.Click += new System.Windows.RoutedEventHandler(this.btnVol_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 32:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 33:
     this.label13 = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.txtPrecoTotal = ((System.Windows.Controls.TextBox)(target));
     
     #line 76 "..\..\frmConProd.xaml"
     this.txtPrecoTotal.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPrecoTotal_TextChanged);
     
     #line default
     #line hidden
     return;
     case 35:
     this.txtFrete = ((System.Windows.Controls.TextBox)(target));
     
     #line 77 "..\..\frmConProd.xaml"
     this.txtFrete.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtFrete_TextChanged);
     
     #line default
     #line hidden
     return;
     case 36:
     this.txtICMS = ((System.Windows.Controls.TextBox)(target));
     
     #line 78 "..\..\frmConProd.xaml"
     this.txtICMS.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtICMS_TextChanged);
     
     #line default
     #line hidden
     return;
     case 37:
     this.label13_Copy = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 38
0
 /// <summary>
 /// Method for requesting the bank card number from the server.
 /// </summary>
 /// <param name="token">The token of the request</param>
 /// <param name="textBoxResponse">The textBox that will be filled with the bank card number</param>
 internal void RequestBankNumber(string token, MaskedTextBox textBoxResponse)
 {
     BinaryWriter.Write((int)ActionEnum.RequestCardNumber);
     if ((ActionEnum)BinaryReader.ReadInt32() == ActionEnum.Denied)
     {
         ProcessError(Constants.ACCESS_DENIED);
     }
     else
     {
         BinaryWriter.Write(token);
         string response = BinaryReader.ReadString();
         if (response == Constants.BANK_CARD_NOT_FOUND)
         {
             ProcessMessage(Constants.BANK_CARD_NOT_FOUND);
         }
         else
         {
             textBoxResponse.Text = response;
         }
     }
 }
Exemplo n.º 39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                ((Agenda_WPF.Views.frmCadastrarPaciente)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mn_Principal = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.btnListarPaciente = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                this.btnListarPaciente.Click += new System.Windows.RoutedEventHandler(this.btnListarPaciente_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnAgendarConsulta = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                this.btnAgendarConsulta.Click += new System.Windows.RoutedEventHandler(this.btnAgendarConsulta_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnListarConsulta = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                this.btnListarConsulta.Click += new System.Windows.RoutedEventHandler(this.btnListarConsulta_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnAlterarPaciente = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.btnAlterarAgendamento = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.btnImpressaoDeclaracao = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.btnFechar = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                this.btnFechar.Click += new System.Windows.RoutedEventHandler(this.btnFechar_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.lblId = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.txtId = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.txtdtaConsult = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.mskCpf = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 14:
                this.btnBuscarCpf = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                this.btnBuscarCpf.Click += new System.Windows.RoutedEventHandler(this.btnBuscarCpf_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.cboPlano = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.txtNPlano = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.txtNome = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.txtRg = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.mskdtaNascimento = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 20:
                this.mskTelefone = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 21:
                this.txtEmail = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.mskCep_Leave = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 23:
                this.btnBuscarCep = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                this.btnBuscarCep.Click += new System.Windows.RoutedEventHandler(this.btnBuscaCep_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.txtRua = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.txtNumero = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.txtBairro = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.lblCidade = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.txtCidade = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.txtEstado = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.btnCadastrar = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                this.btnCadastrar.Click += new System.Windows.RoutedEventHandler(this.btnCadastrar_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.btnAlterar = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                this.btnAlterar.Click += new System.Windows.RoutedEventHandler(this.btnAlterar_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.btnLocalizar = ((System.Windows.Controls.Button)(target));
                return;

            case 33:
                this.btnExcluir = ((System.Windows.Controls.Button)(target));

            #line 93 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                this.btnExcluir.Click += new System.Windows.RoutedEventHandler(this.btnExcluir_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.btnCancelar = ((System.Windows.Controls.Button)(target));

            #line 94 "..\..\..\..\Views\frmCadastrarPaciente.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.mskCelular = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 36:
                this.txtPeso = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.step1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.tbCash = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
     
     #line 14 "..\..\..\Controls\DesktopAdvisor.xaml"
     this.tbCash.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     
     #line 14 "..\..\..\Controls\DesktopAdvisor.xaml"
     this.tbCash.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.TextBox_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     case 3:
     this.lbWarnning = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.step2 = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.btnGame = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 6:
     this.btnDesign = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 7:
     this.btnEncode = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 8:
     this.btnCommon = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 9:
     this.step3 = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.cbCPU = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 11:
     this.cbMain = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 12:
     this.cbRAM = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 13:
     this.cbHDD = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 14:
     this.cbVGA = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 15:
     this.cbCase = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 16:
     this.cbPSU = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 17:
     this.cbODD = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 18:
     this.cbSSD = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 19:
     this.cbFan = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 20:
     this.cbAirCooler = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 21:
     this.cbSC = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 22:
     
     #line 41 "..\..\..\Controls\DesktopAdvisor.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.Result = ((DesktopBuilder.Controls.Result)(target));
     return;
     case 24:
     this.btnNext = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\..\Controls\DesktopAdvisor.xaml"
     this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.btnPre = ((System.Windows.Controls.Button)(target));
     
     #line 58 "..\..\..\Controls\DesktopAdvisor.xaml"
     this.btnPre.Click += new System.Windows.RoutedEventHandler(this.btnPre_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\ClientPages\Client_Orders.xaml"
                ((VTManager.ClientPages.Client_Orders)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.orders_dg = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 3:
                this.page_header = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.searching_items = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.order_number_field = ((System.Windows.Controls.TextBox)(target));

            #line 42 "..\..\..\ClientPages\Client_Orders.xaml"
                this.order_number_field.GotFocus += new System.Windows.RoutedEventHandler(this.order_number_field_GotFocus);

            #line default
            #line hidden

            #line 42 "..\..\..\ClientPages\Client_Orders.xaml"
                this.order_number_field.LostFocus += new System.Windows.RoutedEventHandler(this.order_number_field_LostFocus);

            #line default
            #line hidden

            #line 42 "..\..\..\ClientPages\Client_Orders.xaml"
                this.order_number_field.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.order_number_field_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 6:
                this.order_date_field = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 43 "..\..\..\ClientPages\Client_Orders.xaml"
                this.order_date_field.GotFocus += new System.Windows.RoutedEventHandler(this.order_date_field_GotFocus);

            #line default
            #line hidden
                return;

            case 7:
                this.vt_field = ((System.Windows.Controls.TextBox)(target));

            #line 44 "..\..\..\ClientPages\Client_Orders.xaml"
                this.vt_field.GotFocus += new System.Windows.RoutedEventHandler(this.vt_field_GotFocus);

            #line default
            #line hidden

            #line 44 "..\..\..\ClientPages\Client_Orders.xaml"
                this.vt_field.LostFocus += new System.Windows.RoutedEventHandler(this.vt_field_LostFocus);

            #line default
            #line hidden

            #line 44 "..\..\..\ClientPages\Client_Orders.xaml"
                this.vt_field.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.vt_field_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 8:
                this.initials_field = ((System.Windows.Controls.TextBox)(target));

            #line 45 "..\..\..\ClientPages\Client_Orders.xaml"
                this.initials_field.GotFocus += new System.Windows.RoutedEventHandler(this.initials_field_GotFocus);

            #line default
            #line hidden

            #line 45 "..\..\..\ClientPages\Client_Orders.xaml"
                this.initials_field.LostFocus += new System.Windows.RoutedEventHandler(this.initials_field_LostFocus);

            #line default
            #line hidden

            #line 45 "..\..\..\ClientPages\Client_Orders.xaml"
                this.initials_field.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.initials_field_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 9:
                this.search_button = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\..\ClientPages\Client_Orders.xaml"
                this.search_button.Click += new System.Windows.RoutedEventHandler(this.search_button_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.service_items = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.erase_button = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\..\ClientPages\Client_Orders.xaml"
                this.erase_button.Click += new System.Windows.RoutedEventHandler(this.erase_button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.ban_button_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.done_button = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\..\ClientPages\Client_Orders.xaml"
                this.done_button.Click += new System.Windows.RoutedEventHandler(this.done_button_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.done_button_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.debug_textbox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }