void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DrawingPad = ((Drawing.DrawingPadWindow)(target)); return; case 2: this.drawingCanvas = ((System.Windows.Controls.Canvas)(target)); #line 14 "..\..\DrawingPad.xaml" this.drawingCanvas.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.drawingCanvas_MouseLeftButtonDown); #line default #line hidden #line 14 "..\..\DrawingPad.xaml" this.drawingCanvas.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.drawingCanvas_MouseRightButtonDown); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DrawingPad = ((Drawing.DrawingPadWindow)(target)); return; case 2: this.drawingCanvas = ((System.Windows.Controls.Canvas)(target)); return; } this._contentLoaded = true; }