private void FormaA_Click(object sender, RoutedEventArgs e) { FormaA AForm = new FormaA(name, fw, 0, id); AForm.Owner = this; AForm.WindowStartupLocation = WindowStartupLocation.CenterOwner; AForm.ShowDialog(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.FormaA2 = ((SZI.FormaA)(target)); #line 8 "..\..\FormaA.xaml" this.FormaA2.Loaded += new System.Windows.RoutedEventHandler(this.FormaA2_Loaded); #line default #line hidden return; case 2: this.FormaA1 = ((System.Windows.Controls.Grid)(target)); return; case 3: this.Tree = ((System.Windows.Controls.TreeView)(target)); return; case 4: this.Save = ((System.Windows.Controls.Button)(target)); return; case 5: this.Save_Copy = ((System.Windows.Controls.Button)(target)); return; case 6: this.groupBox = ((System.Windows.Controls.GroupBox)(target)); return; case 7: this.listBox = ((System.Windows.Controls.ListBox)(target)); #line 35 "..\..\FormaA.xaml" this.listBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox_SelectionChanged); #line default #line hidden return; case 8: this.tabControl = ((System.Windows.Controls.TabControl)(target)); return; case 9: this.TBNumber = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.label = ((System.Windows.Controls.Label)(target)); return; case 11: this.TBPlace = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.label_Copy = ((System.Windows.Controls.Label)(target)); return; case 13: this.label_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 14: this.Date = ((System.Windows.Controls.DatePicker)(target)); return; case 15: this.label_Copy2 = ((System.Windows.Controls.Label)(target)); return; case 16: this.TBName = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.label_Copy3 = ((System.Windows.Controls.Label)(target)); return; case 18: this.TBSostav = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.label_Copy4 = ((System.Windows.Controls.Label)(target)); return; case 20: this.TBSecretary = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.StackPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 22: this.StackPanel_A_1_1 = ((System.Windows.Controls.StackPanel)(target)); return; case 23: this.label_Copy5 = ((System.Windows.Controls.Label)(target)); return; case 24: this.TBNumber_Copy = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.StackPanel_A_1_2 = ((System.Windows.Controls.StackPanel)(target)); return; case 26: this.label_Copy7 = ((System.Windows.Controls.Label)(target)); return; case 27: this.Date_Copy = ((System.Windows.Controls.DatePicker)(target)); return; case 28: this.StackPanel_A_1_3 = ((System.Windows.Controls.StackPanel)(target)); return; case 29: this.label_Copy6 = ((System.Windows.Controls.Label)(target)); return; case 30: this.TBPlace_Copy = ((System.Windows.Controls.TextBox)(target)); return; case 31: this.StackPanel_A_1_4 = ((System.Windows.Controls.StackPanel)(target)); return; case 32: this.label_Copy8 = ((System.Windows.Controls.Label)(target)); return; case 33: this.TBName_Copy = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.label_Copy9 = ((System.Windows.Controls.Label)(target)); return; case 35: this.TBSostav_Copy = ((System.Windows.Controls.TextBox)(target)); return; case 36: this.label_Copy10 = ((System.Windows.Controls.Label)(target)); return; case 37: this.TBSecretary_Copy = ((System.Windows.Controls.TextBox)(target)); return; case 38: this.StackPanel_A_2_1 = ((System.Windows.Controls.StackPanel)(target)); return; case 39: this.label_Copy11 = ((System.Windows.Controls.Label)(target)); return; case 40: this.AddBtn = ((System.Windows.Controls.Button)(target)); #line 133 "..\..\FormaA.xaml" this.AddBtn.Click += new System.Windows.RoutedEventHandler(this.AddBtn_Click); #line default #line hidden return; case 41: this.addImg = ((System.Windows.Controls.Image)(target)); return; case 42: this.StackPanel_A_2_2 = ((System.Windows.Controls.StackPanel)(target)); return; } this._contentLoaded = true; }