Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.layoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.myRibbon = ((Fluent.Ribbon)(target));
                return;

            case 3:
                this.mainTab = ((Fluent.RibbonTabItem)(target));
                return;

            case 4:
                this.btnConnect = ((Fluent.Button)(target));
                return;

            case 5:
                this.btnDisconnect = ((Fluent.Button)(target));
                return;

            case 6:
                this.performanceMonitor = ((Codeplex.Dashboarding.PerformanceMonitor)(target));
                return;

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

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

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

            case 10:
                this.helpTab = ((Fluent.RibbonTabItem)(target));
                return;

            case 11:
                this.grdHost = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.lstDbList = ((System.Windows.Controls.ListView)(target));
                return;

            case 13:
                this.cmbDBObjects = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.lstTableList = ((System.Windows.Controls.ListView)(target));
                return;

            case 15:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;

            case 16:
                this.grdMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.tab1 = ((SQLServerCompanion.Controls.TabControlEx)(target));
                return;
            }
            this._contentLoaded = true;
        }