void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window2 = ((ЗАГС_ЕИИС.Window1)(target)); #line 8 "..\..\Window1.xaml" this.window2.Closing += new System.ComponentModel.CancelEventHandler(this.window2_Closing); #line default #line hidden return; case 2: this.radioButton2 = ((System.Windows.Controls.RadioButton)(target)); #line 19 "..\..\Window1.xaml" this.radioButton2.Checked += new System.Windows.RoutedEventHandler(this.radioButton2_Checked); #line default #line hidden return; case 3: this.radioButton1 = ((System.Windows.Controls.RadioButton)(target)); #line 20 "..\..\Window1.xaml" this.radioButton1.Checked += new System.Windows.RoutedEventHandler(this.radioButton1_Checked); #line default #line hidden return; case 4: this.grid2 = ((System.Windows.Controls.Grid)(target)); return; case 5: this.textBox4 = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.textBox2 = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.textBox3 = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.label = ((System.Windows.Controls.Label)(target)); return; case 10: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 11: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 12: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 13: this.grid3 = ((System.Windows.Controls.Grid)(target)); return; case 14: this.textBox21 = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.textBox24 = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.textBox22 = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.textBox23 = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.label21 = ((System.Windows.Controls.Label)(target)); return; case 19: this.label22 = ((System.Windows.Controls.Label)(target)); return; case 20: this.label23 = ((System.Windows.Controls.Label)(target)); return; case 21: this.label24 = ((System.Windows.Controls.Label)(target)); return; case 22: this.button2 = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\Window1.xaml" this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click); #line default #line hidden return; case 23: this.button3 = ((System.Windows.Controls.Button)(target)); #line 49 "..\..\Window1.xaml" this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click); #line default #line hidden return; case 24: this.button41 = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\Window1.xaml" this.button41.Click += new System.Windows.RoutedEventHandler(this.button41_Click); #line default #line hidden return; case 25: this.textBlock1 = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
private void menuItem21_Click(object sender, RoutedEventArgs e)// кн. меню "Настройки" { Window1 win1 = new Window1(); win1.Show(); }
private void progressBar1_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)// перемещение формы взяв за ПрогресБар { Window1.DragMove(); }
private void button4_Click(object sender, RoutedEventArgs e) // кн. Закрыть { Window1.Close(); }
private void menu1_Copy_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)// перемещение формы взяв за меню { Window1.DragMove(); }