Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\WpfKhaoSatVay.xaml"
                ((Presentation.WpfKhaoSatVay)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 8 "..\..\..\WpfKhaoSatVay.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.Close_OnClick);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\WpfKhaoSatVay.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\WpfKhaoSatVay.xaml"
                this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 8:
                this.CboXa = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 9:
                this.CboDot = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 10:
                this.CboPos = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 11:
                this.LblPos = ((Telerik.Windows.Controls.Label)(target));
                return;

            case 12:
                this.LblNgay = ((Telerik.Windows.Controls.Label)(target));
                return;

            case 13:
                this.dtpNgay = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 334 "..\..\..\WpfKhaoSatVay.xaml"
                this.ShowGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowGrid_OnMouseDown);

            #line default
            #line hidden
                return;

            case 15:
                this.groupBox = ((Telerik.Windows.Controls.GroupBox)(target));
                return;

            case 16:
                this.opt1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.opt2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 18:
                this.opt3 = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\WpfQlyGqvl.xaml"
                ((Presentation.WpfQlyGqvl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 10 "..\..\..\WpfQlyGqvl.xaml"
                this.CboPos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboPos_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.CboXa = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.CboCqlv = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 10:
                this.btnclose = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\..\WpfQlyGqvl.xaml"
                this.btnclose.Click += new System.Windows.RoutedEventHandler(this.btnclose_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnOk = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\..\WpfQlyGqvl.xaml"
                this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.groupBox = ((Telerik.Windows.Controls.GroupBox)(target));
                return;

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

            case 14:
                this.Ration2 = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.windowLogin = ((AxiomIRISRibbon.Login)(target));
     return;
     case 2:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.btnOK = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\Login.xaml"
     this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\Login.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.groupBox1 = ((Telerik.Windows.Controls.GroupBox)(target));
     return;
     case 6:
     this.bsyInd = ((Telerik.Windows.Controls.RadBusyIndicator)(target));
     return;
     case 7:
     this.tbUserName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.tbPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 9:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.tbToken = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.lblLoginMessage = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.radComboDemoLogins = ((Telerik.Windows.Controls.RadComboBox)(target));
     
     #line 27 "..\..\Login.xaml"
     this.radComboDemoLogins.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radComboDemoLogins_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.lblDemoLogins = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.tbEndPoint = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.btnDemoLogins = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\Login.xaml"
     this.btnDemoLogins.Click += new System.Windows.RoutedEventHandler(this.button1_Click_1);
     
     #line default
     #line hidden
     return;
     case 19:
     this.cbLocal = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 20:
     this.themepick1 = ((Telerik.Windows.Controls.RadComboBox)(target));
     
     #line 41 "..\..\Login.xaml"
     this.themepick1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RadComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 21:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }