private void Button1_Copy1_Click(object sender, RoutedEventArgs e) { kv3 f = new kv3(); this.Hide(); f.ShowDialog(); this.Show(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MyWindow = ((Kvadro.kv3)(target)); #line 8 "..\..\kv3.xaml" this.MyWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MyWindow_Closing); #line default #line hidden return; case 2: #line 35 "..\..\kv3.xaml" ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseLeftButtonDown); #line default #line hidden return; case 3: this.kvadroGrid = ((System.Windows.Controls.DataGrid)(target)); #line 42 "..\..\kv3.xaml" this.kvadroGrid.CurrentCellChanged += new System.EventHandler <System.EventArgs>(this.kvadroGrid_CurrentCellChanged); #line default #line hidden return; case 4: #line 44 "..\..\kv3.xaml" ((System.Windows.Controls.DataGridTextColumn)(target)).PastingCellClipboardContent += new System.EventHandler <System.Windows.Controls.DataGridCellClipboardEventArgs>(this.DataGridTextColumn_PastingCellClipboardContent); #line default #line hidden return; case 5: #line 56 "..\..\kv3.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 6: this.Delete = ((System.Windows.Controls.Button)(target)); #line 57 "..\..\kv3.xaml" this.Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click); #line default #line hidden return; case 7: this.Exit = ((System.Windows.Controls.Button)(target)); #line 58 "..\..\kv3.xaml" this.Exit.Click += new System.Windows.RoutedEventHandler(this.Exit_Click); #line default #line hidden return; case 8: this.name1 = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.phone = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.bank = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.acc = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.adress = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.fio = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.AddBtn = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\kv3.xaml" this.AddBtn.Click += new System.Windows.RoutedEventHandler(this.AddBtn_Click); #line default #line hidden return; case 15: this.Phone = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.label = ((System.Windows.Controls.Label)(target)); return; case 17: this.iin = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }