Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.dockPanel1 = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 2:
     this.wrapPanel2 = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 3:
     this.btnLogin = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\PageMainTableInfoEditor.xaml"
     this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnTheme = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\PageMainTableInfoEditor.xaml"
     this.btnTheme.Click += new System.Windows.RoutedEventHandler(this.btnTheme_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ucCat = ((Nit.Phonebook.UcCategoryBar)(target));
     return;
     case 6:
     this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 7:
     this.btnEmployeeLeftMenu = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\PageMainTableInfoEditor.xaml"
     this.btnEmployeeLeftMenu.Click += new System.Windows.RoutedEventHandler(this.btnEmployeeLeftMenu_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnPhoneLeftMenu = ((System.Windows.Controls.Button)(target));
     
     #line 37 "..\..\PageMainTableInfoEditor.xaml"
     this.btnPhoneLeftMenu.Click += new System.Windows.RoutedEventHandler(this.btnPhoneLeftMenu_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnSearchBoxLeftMenu = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\PageMainTableInfoEditor.xaml"
     this.btnSearchBoxLeftMenu.Click += new System.Windows.RoutedEventHandler(this.btnSearchBoxLeftMenu_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btnReportLeftMenu = ((System.Windows.Controls.Button)(target));
     
     #line 49 "..\..\PageMainTableInfoEditor.xaml"
     this.btnReportLeftMenu.Click += new System.Windows.RoutedEventHandler(this.btnReportLeftMenu_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.ucRowEditor = ((Nit.Phonebook.UcRowEditor)(target));
     return;
     case 12:
     this.GridBackgroundPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.ucLogin = ((Nit.Phonebook.UcStartup)(target));
     return;
     case 14:
     this.ucThemeSettings = ((Nit.Phonebook.UcTheme)(target));
     return;
     case 15:
     this.ucWindowRowEditor = ((Nit.Phonebook.UcWindowRowEditor)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.popupAlter = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

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

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

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

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

            case 6:
                this.btnUpdate = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.btnDelete = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.chkAlterMode = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.chkSync = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.txtBlockMsg = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 12:
                this.dockPanel1 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 13:
                this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 14:
                this.btnEmployeeLeftMenu = ((System.Windows.Controls.Button)(target));
                return;

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

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

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

            case 18:
                this.ucStartup = ((Nit.Phonebook.UcStartup)(target));
                return;
            }
            this._contentLoaded = true;
        }