void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.wind = ((lab3_12.MainWindow)(target)); return; case 2: this.RadioButton_Ink = ((System.Windows.Controls.RadioButton)(target)); return; case 3: this.RadioButton_Select = ((System.Windows.Controls.RadioButton)(target)); return; case 4: this.RadioButton_EraseByStroke = ((System.Windows.Controls.RadioButton)(target)); return; case 6: #line 39 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1); #line default #line hidden return; case 7: #line 40 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 8: this.inkcanvas1 = ((System.Windows.Controls.InkCanvas)(target)); return; case 9: this.combobox1 = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.slider1 = ((System.Windows.Controls.Slider)(target)); #line 61 "..\..\MainWindow.xaml" this.slider1.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.slider1_PreviewMouseUp); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.wind = ((lab3_12.MainWindow)(target)); return; case 2: #line 33 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1); #line default #line hidden return; case 3: #line 34 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 4: this.inkcanvas1 = ((System.Windows.Controls.InkCanvas)(target)); return; case 5: this.combobox1 = ((System.Windows.Controls.ComboBox)(target)); return; case 6: this.slider1 = ((System.Windows.Controls.Slider)(target)); #line 56 "..\..\MainWindow.xaml" this.slider1.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.slider1_PreviewMouseUp); #line default #line hidden return; case 7: this.lbEditingModes = ((System.Windows.Controls.ListBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.wind = ((lab3_12.MainWindow)(target)); return; case 2: #line 17 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1); #line default #line hidden return; case 3: #line 18 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 4: this.inkcanvas1 = ((System.Windows.Controls.InkCanvas)(target)); return; case 5: this.attrs = ((System.Windows.Ink.DrawingAttributes)(target)); return; case 6: this.combobox1 = ((System.Windows.Controls.ComboBox)(target)); #line 27 "..\..\MainWindow.xaml" this.combobox1.DropDownClosed += new System.EventHandler(this.combobox1_DropDownClosed); #line default #line hidden return; case 7: this.slider1 = ((System.Windows.Controls.Slider)(target)); #line 73 "..\..\MainWindow.xaml" this.slider1.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.slider1_PreviewMouseUp); #line default #line hidden return; case 8: this.statbar3 = ((System.Windows.Controls.Label)(target)); return; case 9: this.RadioButton_Boot1 = ((System.Windows.Controls.RadioButton)(target)); #line 77 "..\..\MainWindow.xaml" this.RadioButton_Boot1.Click += new System.Windows.RoutedEventHandler(this.RadioButton_Boot1_Click); #line default #line hidden return; case 10: this.RadioButton_Boot2 = ((System.Windows.Controls.RadioButton)(target)); #line 78 "..\..\MainWindow.xaml" this.RadioButton_Boot2.Click += new System.Windows.RoutedEventHandler(this.RadioButton_Boot1_Click); #line default #line hidden return; case 11: this.RadioButton_Boot3 = ((System.Windows.Controls.RadioButton)(target)); #line 79 "..\..\MainWindow.xaml" this.RadioButton_Boot3.Click += new System.Windows.RoutedEventHandler(this.RadioButton_Boot1_Click); #line default #line hidden return; case 12: this.statbar2 = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.statbar1 = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }