예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((PanelDemo.MainWindow)(target));
                return;

            case 2:
                this.MenuControl = ((PanelDemo.Controls.MenuControl)(target));
                return;

            case 3:
                this.ToolBarController = ((PanelDemo.Controls.ToolbarControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((PanelDemo.Controls.MenuControl)(target));
                return;

            case 2:
                this.St_RootGridMouseEnter_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.St_RootGridMouseLeave_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 4:
                this.RootGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.MessagePanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.MessageBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.CurrentDate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.NewFileImageButton = ((PanelDemo.Controls.ImageButtonControl)(target));
                return;

            case 9:
                this.OpenFileImageButton = ((PanelDemo.Controls.ImageButtonControl)(target));
                return;
            }
            this._contentLoaded = true;
        }