Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWnd = ((FlyingBall.MainWindow)(target));
                return;

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

            #line 16 "..\..\MainWindow.xaml"
                this.mainCanvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseUp);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainWnd = ((FlyingBall.MainWindow)(target));
     return;
     case 2:
     this.mainCanvas = ((System.Windows.Controls.Canvas)(target));
     
     #line 16 "..\..\MainWindow.xaml"
     this.mainCanvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseUp);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }