Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.t_txt_UserId = ((RJ.XStyle.XTextBox)(target));
                return;

            case 2:
                this.t_txt_Password = ((RJ.XStyle.XTextBox)(target));
                return;

            case 3:
                this.t_btn_Login = ((RJ.XStyle.XButton)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.t_btn_Login.Click += new System.Windows.RoutedEventHandler(this.t_btn_Login_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.t_btn_Close = ((RJ.XStyle.XButton)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.t_btn_Close.Click += new System.Windows.RoutedEventHandler(this.t_btn_Close_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.t_btn_Close_Copy = ((RJ.XStyle.XButton)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.t_btn_Close_Copy.Click += new System.Windows.RoutedEventHandler(this.t_btn_Close_Copy_Click);

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

            #line 9 "..\..\FrmQuotation.xaml"
                ((XProjectWPF.FrmQuotation)(target)).Loaded += new System.Windows.RoutedEventHandler(this.XBaseForm_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\FrmQuotation.xaml"
                ((XProjectWPF.FrmQuotation)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.XBaseForm_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.t_meu_Menu = ((System.Windows.Controls.Menu)(target));
                return;

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

            #line 12 "..\..\FrmQuotation.xaml"
                this.t_tsb_New.Click += new System.Windows.RoutedEventHandler(this.t_tsb_New_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\FrmQuotation.xaml"
                this.t_tsb_Copy.Click += new System.Windows.RoutedEventHandler(this.t_tsb_Copy_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\FrmQuotation.xaml"
                this.t_tsb_Save.Click += new System.Windows.RoutedEventHandler(this.t_tsb_Save_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\FrmQuotation.xaml"
                this.t_tsb_Change.Click += new System.Windows.RoutedEventHandler(this.t_tsb_Change_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\FrmQuotation.xaml"
                this.t_tsb_CreateProject.Click += new System.Windows.RoutedEventHandler(this.t_tsb_CreateProject_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\FrmQuotation.xaml"
                this.t_tsb_Close.Click += new System.Windows.RoutedEventHandler(this.t_tsb_Close_Click);

            #line default
            #line hidden
                return;

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

            case 10:
                this.t_grd_Quotation = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.t_txt_QuotationNo = ((RJ.XStyle.XTextBox)(target));
                return;

            case 12:
                this.t_dtp_QuotationDate = ((RJ.XStyle.XDatePicker)(target));
                return;

            case 13:
                this.t_txt_FollowMan = ((RJ.XStyle.XTextBox)(target));
                return;

            case 14:
                this.t_txt_ProjectName = ((RJ.XStyle.XTextBox)(target));
                return;

            case 15:
                this.t_txt_Price = ((RJ.XStyle.XTextBox)(target));
                return;

            case 16:
                this.t_chk_IsTax = ((RJ.XStyle.XCheckBox)(target));
                return;

            case 17:
                this.t_txt_ProductModel = ((RJ.XStyle.XTextBox)(target));
                return;

            case 18:
                this.t_rad_Safe = ((RJ.XStyle.XRadioButton)(target));
                return;

            case 19:
                this.t_rad_Chemistry = ((RJ.XStyle.XRadioButton)(target));
                return;

            case 20:
                this.t_txt_CycleTime = ((RJ.XStyle.XTextBox)(target));
                return;

            case 21:
                this.t_grd_Company = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.t_txt_CompanyName = ((RJ.XStyle.XTextBox)(target));
                return;

            case 23:
                this.t_txt_CompanyAddress = ((RJ.XStyle.XTextBox)(target));
                return;

            case 24:
                this.t_txt_ContactMan = ((RJ.XStyle.XTextBox)(target));
                return;

            case 25:
                this.t_txt_Tel = ((RJ.XStyle.XTextBox)(target));
                return;

            case 26:
                this.t_txt_Email = ((RJ.XStyle.XTextBox)(target));
                return;

            case 27:
                this.t_txt_Remark = ((RJ.XStyle.XTextBox)(target));
                return;

            case 28:
                this.t_txt_Fax = ((RJ.XStyle.XTextBox)(target));
                return;

            case 29:
                this.t_dge_Project = ((RJ.XStyle.XDataGrid)(target));

            #line 105 "..\..\FrmQuotation.xaml"
                this.t_dge_Project.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.t_dge_Project_MouseDoubleClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }