コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((NRC_Code_Designer.MainWindow)(target));
                return;

            case 2:
                this.GridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.labelClose = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.labelMinimize = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.labelNormal = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.gridToolBar = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.gridToolBox = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.toolBoxPanel = ((NRC_Code_Designer.src.UI.Panel.UserControlPanel)(target));
                return;

            case 9:
                this.gridProjectNamespacesTree = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 11:
                this.detailsPanel = ((NRC_Code_Designer.src.UI.Panel.UserControlPanel)(target));
                return;

            case 12:
                this.scrollViewerDesigner = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 13:
                this.gridDesigner = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainWindow = ((NRC_Code_Designer.MainWindow)(target));
     return;
     case 2:
     this.GridMain = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }