コード例 #1
0
ファイル: MainWindow.g.i.cs プロジェクト: tiliff/Projectgit
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((FinalGame.MainWindow)(target));

            #line 5 "..\..\MainWindow.xaml"
                this.mainWindow.KeyDown += new System.Windows.Input.KeyEventHandler(this.keyPressed);

            #line default
            #line hidden
                return;

            case 2:
                this.screenArea = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: MainWindow.g.cs プロジェクト: Josh-Russell/HDATE
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainWindow = ((FinalGame.MainWindow)(target));
     
     #line 5 "..\..\MainWindow.xaml"
     this.mainWindow.KeyDown += new System.Windows.Input.KeyEventHandler(this.keyPressed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.screenArea = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }