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

            #line 5 "..\..\..\ui\MainWindow.xaml"
                this.frmMainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.frmMainWindow_Closing);

            #line default
            #line hidden
                return;

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

            case 3:
                this.imgBackground = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.frmMain = ((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.frmMain = ((FinalPoject.MainWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }