Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainForm = ((Pingpong.MainWindow)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.MainForm.KeyDown += new System.Windows.Input.KeyEventHandler(this.PingPongTable_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.PingPongTable = ((System.Windows.Controls.Canvas)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.PingPongTable.Loaded += new System.Windows.RoutedEventHandler(this.PingPongTable_Loaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainForm = ((Pingpong.MainWindow)(target));
     
     #line 10 "..\..\MainWindow.xaml"
     this.MainForm.KeyDown += new System.Windows.Input.KeyEventHandler(this.PingPongTable_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.PingPongTable = ((System.Windows.Controls.Canvas)(target));
     
     #line 12 "..\..\MainWindow.xaml"
     this.PingPongTable.Loaded += new System.Windows.RoutedEventHandler(this.PingPongTable_Loaded);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }