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

            #line 11 "..\..\MainWindow.xaml"
                this.Main.MouseMove += new System.Windows.Input.MouseEventHandler(this.Main_MouseMove);

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                this.Main.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Main_SizeChanged);

            #line default
            #line hidden

            #line 16 "..\..\MainWindow.xaml"
                this.Main.Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);

            #line default
            #line hidden

            #line 17 "..\..\MainWindow.xaml"
                this.Main.StateChanged += new System.EventHandler(this.Main_StateChanged);

            #line default
            #line hidden
                return;

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

            case 3:
                this.MainFrame = ((System.Windows.Controls.Frame)(target));
                return;

            case 4:
                this.SideMenu = ((Server_Restart_Final.SideMenuControl)(target));
                return;

            case 5:
                this.LoadingFrame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SMUC = ((Server_Restart_Final.SideMenuControl)(target));

            #line 10 "..\..\..\..\Controls\SideList\SideMenuControl.xaml"
                this.SMUC.MouseEnter += new System.Windows.Input.MouseEventHandler(this.SMUC_MouseEnter);

            #line default
            #line hidden

            #line 11 "..\..\..\..\Controls\SideList\SideMenuControl.xaml"
                this.SMUC.MouseLeave += new System.Windows.Input.MouseEventHandler(this.SMUC_MouseLeave);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }