Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmbBaseInfo = ((System.Windows.Controls.ComboBox)(target));

            #line 9 "..\..\..\..\..\Forms\Settings\SOTax\FrmRegisterSOTax.xaml"
                this.cmbBaseInfo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbBaseInfo_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\..\..\..\Forms\Settings\SOTax\FrmRegisterSOTax.xaml"
                this.cmbFinancialYear.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbBaseInfo_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.txtPercent = ((WPFNumberOnlyTextbox.NumberOnlyTextBox)(target));
                return;

            case 4:

            #line 17 "..\..\..\..\..\Forms\Settings\SOTax\FrmRegisterSOTax.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btn_click);

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

            #line 5 "..\..\..\..\Forms\baseInfo\frm_edit_bank.xaml"
                ((AccountingKernel.Forms.baseInfo.frm_edit_bank)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded_1);

            #line default
            #line hidden
                return;

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

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

            #line 14 "..\..\..\..\Forms\baseInfo\frm_edit_bank.xaml"
                this.txt_nameBank.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_nameBank_PreviewTextInput);

            #line default
            #line hidden

            #line 14 "..\..\..\..\Forms\baseInfo\frm_edit_bank.xaml"
                this.txt_nameBank.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txt_nameBank_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\..\Forms\baseInfo\frm_edit_bank.xaml"
                this.txt_name_shobe.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_name_shobe_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\..\Forms\baseInfo\frm_edit_bank.xaml"
                this.txt_namSahebHesab.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_namSahebHesab_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 6:
                this.txt_codeBank = ((WPFNumberOnlyTextbox.NumberOnlyTextBox)(target));
                return;

            case 7:
                this.txt_code_shobe = ((WPFNumberOnlyTextbox.NumberOnlyTextBox)(target));
                return;

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

            #line 19 "..\..\..\..\Forms\baseInfo\frm_edit_bank.xaml"
                this.txt_shomare_hwsab.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_shomare_hwsab_PreviewTextInput);

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