示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdGroup = ((FusilControlLib.CustomGrid)(target));
                return;

            case 2:
                this.wpGroup = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 3:
                this.spHeading = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 4:
                this.lblHeading = ((FusilControlLib.CustomLabel)(target));
                return;

            case 5:
                this.spName = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 6:
                this.lblName = ((FusilControlLib.CustomLabel)(target));
                return;

            case 7:
                this.tbName = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 8:
                this.spGroup = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 9:
                this.lblGroup = ((FusilControlLib.CustomLabel)(target));
                return;

            case 10:
                this.comboGroup = ((FusilControlLib.CustomComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdRegistration = ((FusilControlLib.CustomGrid)(target));
                return;

            case 2:
                this.gbRegistration = ((FusilControlLib.CustomGroupBox)(target));
                return;

            case 3:
                this.wpRegistration = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 4:
                this.spUserId = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 5:
                this.lblUserId = ((FusilControlLib.CustomLabel)(target));
                return;

            case 6:
                this.tbUserId = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 7:
                this.spFirstName = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 8:
                this.lblFirstName = ((FusilControlLib.CustomLabel)(target));
                return;

            case 9:
                this.tbFirstName = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 10:
                this.spLastName = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 11:
                this.lblLastName = ((FusilControlLib.CustomLabel)(target));
                return;

            case 12:
                this.tbLastName = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 13:
                this.spFatherName = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 14:
                this.lblFatherName = ((FusilControlLib.CustomLabel)(target));
                return;

            case 15:
                this.tbFatherName = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 16:
                this.spDob = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 17:
                this.lblDob = ((FusilControlLib.CustomLabel)(target));
                return;

            case 18:
                this.datePicker1 = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 19:
                this.spMobileNo = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 20:
                this.lblMobileNo = ((FusilControlLib.CustomLabel)(target));
                return;

            case 21:
                this.MobileNo = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 22:
                this.spEmail = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 23:
                this.lblEmail = ((FusilControlLib.CustomLabel)(target));
                return;

            case 24:
                this.Email = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 25:
                this.spAddress = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 26:
                this.lblAddress = ((FusilControlLib.CustomLabel)(target));
                return;

            case 27:
                this.Address = ((FusilControlLib.CustomTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdAccountsUC = ((FusilControlLib.CustomGrid)(target));
                return;

            case 2:
                this.gbHeader = ((FusilControlLib.CustomGroupBox)(target));
                return;

            case 3:
                this.wpHeader = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 4:
                this.spSno = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 5:
                this.lblSno = ((FusilControlLib.CustomLabel)(target));
                return;

            case 6:
                this.tbSno = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 7:
                this.spName = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 8:
                this.lblName = ((FusilControlLib.CustomLabel)(target));
                return;

            case 9:
                this.tbName = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 10:
                this.spTaxClass = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 11:
                this.lblTaxClass = ((FusilControlLib.CustomLabel)(target));
                return;

            case 12:
                this.comboTaxClass = ((FusilControlLib.CustomComboBox)(target));
                return;

            case 13:
                this.spCode = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 14:
                this.lblCode = ((FusilControlLib.CustomLabel)(target));
                return;

            case 15:
                this.tbCode = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 16:
                this.spDesc = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 17:
                this.lblDesc = ((FusilControlLib.CustomLabel)(target));
                return;

            case 18:
                this.tbDesc = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 19:
                this.gdAccountsBodyUC = ((FusilControlLib.CustomGrid)(target));
                return;

            case 20:
                this.gbBody = ((FusilControlLib.CustomGroupBox)(target));
                return;

            case 21:
                this.wpBody = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 22:
                this.dgBody = ((FusilControlLib.CustomDataGrid)(target));
                return;

            case 23:
                this.dgColumnTaxClass = ((System.Windows.Controls.DataGridComboBoxColumn)(target));
                return;

            case 24:
                this.dgColumnTaxRate = ((FusilControlLib.CustomDataGridTextColumns)(target));
                return;

            case 25:
                this.dgNarration = ((FusilControlLib.CustomDataGridTextColumns)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdVehicle = ((FusilControlLib.CustomGrid)(target));
                return;

            case 2:
                this.gbVehicle = ((FusilControlLib.CustomGroupBox)(target));
                return;

            case 3:
                this.wpVehicle = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 4:
                this.spName = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 5:
                this.lblName = ((FusilControlLib.CustomLabel)(target));
                return;

            case 6:
                this.tbName = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 7:
                this.spModel = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 8:
                this.lblModel = ((FusilControlLib.CustomLabel)(target));
                return;

            case 9:
                this.tbModel = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 10:
                this.spRate = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 11:
                this.lblRate = ((FusilControlLib.CustomLabel)(target));
                return;

            case 12:
                this.tbRate = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 13:
                this.spTax = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 14:
                this.lblTax = ((FusilControlLib.CustomLabel)(target));
                return;

            case 15:
                this.tbTax = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 16:
                this.spAcc = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 17:
                this.lblAcc = ((FusilControlLib.CustomLabel)(target));
                return;

            case 18:
                this.tbAcc = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 19:
                this.spTotal = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 20:
                this.lblTotal = ((FusilControlLib.CustomLabel)(target));
                return;

            case 21:
                this.tbTotal = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 22:
                this.spDisc = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 23:
                this.lblDisc = ((FusilControlLib.CustomLabel)(target));
                return;

            case 24:
                this.tbDisc = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 25:
                this.spDiscRate = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 26:
                this.lblDiscRate = ((FusilControlLib.CustomLabel)(target));
                return;

            case 27:
                this.tbDiscRate = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 28:
                this.spFinal = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 29:
                this.lblFinal = ((FusilControlLib.CustomLabel)(target));
                return;

            case 30:
                this.tbFinal = ((FusilControlLib.CustomTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdLogin = ((FusilControlLib.CustomGrid)(target));
                return;

            case 2:
                this.wpLogin = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 3:
                this.spUserName = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 4:
                this.lblUserName = ((FusilControlLib.CustomLabel)(target));
                return;

            case 5:
                this.tbUserName = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 6:
                this.spPassword = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 7:
                this.lblPassword = ((FusilControlLib.CustomLabel)(target));
                return;

            case 8:
                this.Password = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 9:
                this.spButtons = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 10:
                this.btnLogin = ((FusilControlLib.CustomButtons)(target));

            #line 17 "..\..\..\Login.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnClear = ((FusilControlLib.CustomButtons)(target));

            #line 18 "..\..\..\Login.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);

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

            case 2:
                this.gdMasterWindow = ((FusilControlLib.CustomGrid)(target));
                return;

            case 3:
                this.wpButtons = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 4:
                this.spColumn1 = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 5:
                this.tbnAccounting = ((FusilControlLib.CustomButtons)(target));

            #line 23 "..\..\..\MasterWindow.xaml"
                this.tbnAccounting.Click += new System.Windows.RoutedEventHandler(this.btnHeader_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnRegistration = ((FusilControlLib.CustomButtons)(target));

            #line 24 "..\..\..\MasterWindow.xaml"
                this.btnRegistration.Click += new System.Windows.RoutedEventHandler(this.btnRegistration_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnVehicle = ((FusilControlLib.CustomButtons)(target));

            #line 25 "..\..\..\MasterWindow.xaml"
                this.btnVehicle.Click += new System.Windows.RoutedEventHandler(this.btnVehicle_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.spColumn2 = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 9:
                this.btnSave = ((FusilControlLib.CustomButtons)(target));

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

            #line default
            #line hidden
                return;

            case 10:
                this.btnUpdate = ((FusilControlLib.CustomButtons)(target));

            #line 37 "..\..\..\MasterWindow.xaml"
                this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnDelete = ((FusilControlLib.CustomButtons)(target));

            #line 38 "..\..\..\MasterWindow.xaml"
                this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnClear = ((FusilControlLib.CustomButtons)(target));

            #line 39 "..\..\..\MasterWindow.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnGet = ((FusilControlLib.CustomButtons)(target));

            #line 40 "..\..\..\MasterWindow.xaml"
                this.btnGet.Click += new System.Windows.RoutedEventHandler(this.btnGet_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnHome = ((FusilControlLib.CustomButtons)(target));

            #line 41 "..\..\..\MasterWindow.xaml"
                this.btnHome.Click += new System.Windows.RoutedEventHandler(this.btnHome_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.gdChild = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdReport = ((FusilControlLib.CustomGrid)(target));
                return;

            case 2:
                this.wpReport = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 3:
                this.spButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.btnAccounts = ((FusilControlLib.CustomButtons)(target));

            #line 24 "..\..\..\MasterReport.xaml"
                this.btnAccounts.Click += new System.Windows.RoutedEventHandler(this.btnAccounts_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnReg = ((FusilControlLib.CustomButtons)(target));

            #line 25 "..\..\..\MasterReport.xaml"
                this.btnReg.Click += new System.Windows.RoutedEventHandler(this.btnReg_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnVehicle = ((FusilControlLib.CustomButtons)(target));

            #line 26 "..\..\..\MasterReport.xaml"
                this.btnVehicle.Click += new System.Windows.RoutedEventHandler(this.btnVehicle_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.spColumn2 = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 8:
                this.btnView = ((FusilControlLib.CustomButtons)(target));

            #line 37 "..\..\..\MasterReport.xaml"
                this.btnView.Click += new System.Windows.RoutedEventHandler(this.btnView_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnClear = ((FusilControlLib.CustomButtons)(target));

            #line 38 "..\..\..\MasterReport.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Report = ((FusilControlLib.CustomLabel)(target));
                return;

            case 11:
                this.btnHome = ((FusilControlLib.CustomButtons)(target));

            #line 40 "..\..\..\MasterReport.xaml"
                this.btnHome.Click += new System.Windows.RoutedEventHandler(this.btnHome_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.gdReportChild = ((FusilControlLib.CustomGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdTree = ((FusilControlLib.CustomGrid)(target));
                return;

            case 2:
                this.wpColumn1 = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 3:
                this.treeControl = ((System.Windows.Controls.TreeView)(target));

            #line 13 "..\..\..\TreeViewStudent.xaml"
                this.treeControl.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.treeControl_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.spButtons = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 5:
                this.btnSave = ((FusilControlLib.CustomButtons)(target));

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

            #line default
            #line hidden
                return;

            case 6:
                this.btnClear = ((FusilControlLib.CustomButtons)(target));

            #line 26 "..\..\..\TreeViewStudent.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnGroup = ((FusilControlLib.CustomButtons)(target));

            #line 27 "..\..\..\TreeViewStudent.xaml"
                this.btnGroup.Click += new System.Windows.RoutedEventHandler(this.btnGroup_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnMaster = ((FusilControlLib.CustomButtons)(target));

            #line 28 "..\..\..\TreeViewStudent.xaml"
                this.btnMaster.Click += new System.Windows.RoutedEventHandler(this.btnMaster_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.gdChild = ((FusilControlLib.CustomGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }