void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this._snapCanvas = ((SHCPL.WPFCommonControls.SnapCanvas)(target)); return; case 2: this.gadgetContainer1 = ((SHCPL.WPFCommonControls.GadgetContainer)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnbuttonClick); #line default #line hidden return; case 2: this._snapCanvas = ((SHCPL.WPFCommonControls.SnapCanvas)(target)); return; case 3: this.gadgetContainer1 = ((SHCPL.WPFCommonControls.GadgetContainer)(target)); return; } this._contentLoaded = true; }