void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.cmdSelectMove = ((System.Windows.Controls.RadioButton)(target)); return; case 2: this.cmdAdd = ((System.Windows.Controls.RadioButton)(target)); return; case 3: this.cmdDelete = ((System.Windows.Controls.RadioButton)(target)); return; case 4: this.cmdSelectMultiple = ((System.Windows.Controls.RadioButton)(target)); return; case 5: this.drawingSurface = ((WpfApplication2.DrawingCanvas)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.drawingSurface = ((WpfApplication2.DrawingCanvas)(target)); return; } this._contentLoaded = true; }