void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((WpfApp5.MainWindow)(target)); return; case 2: this.stackPanel = ((System.Windows.Controls.StackPanel)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Послушная_кнопка = ((WpfApp5.MainWindow)(target)); return; case 2: this.but = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\MainWindow.xaml" this.but.Click += new System.Windows.RoutedEventHandler(this.but_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Form1 = ((WpfApp5.MainWindow)(target)); return; case 2: this.RadioVermell = ((System.Windows.Controls.RadioButton)(target)); #line 15 "..\..\MainWindow.xaml" this.RadioVermell.Checked += new System.Windows.RoutedEventHandler(this.chkCanviaColor); #line default #line hidden return; case 3: this.RadioVerd = ((System.Windows.Controls.RadioButton)(target)); #line 16 "..\..\MainWindow.xaml" this.RadioVerd.Checked += new System.Windows.RoutedEventHandler(this.chkCanviaColor); #line default #line hidden return; case 4: this.RadioVioleta = ((System.Windows.Controls.RadioButton)(target)); #line 17 "..\..\MainWindow.xaml" this.RadioVioleta.Checked += new System.Windows.RoutedEventHandler(this.chkCanviaColor); #line default #line hidden return; case 5: this.txtBoxColor = ((System.Windows.Controls.TextBox)(target)); #line 19 "..\..\MainWindow.xaml" this.txtBoxColor.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtBox_CanviaText); #line default #line hidden return; case 6: this.RadioSimple = ((System.Windows.Controls.RadioButton)(target)); return; case 7: this.RadioCompacte = ((System.Windows.Controls.RadioButton)(target)); return; case 8: this.RadioIfiElse = ((System.Windows.Controls.RadioButton)(target)); return; case 9: this.RadioSwitch = ((System.Windows.Controls.RadioButton)(target)); return; case 10: #line 38 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }