private void Cl(object sender, EventArgs e) { InfoAboutClient a = new InfoAboutClient(((StartTaga)sender).index); a.Show(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WinPI = ((LeroyMerlinClient.InfoAboutClient)(target)); #line 8 "..\..\InfoAboutClient.xaml" this.WinPI.Closing += new System.ComponentModel.CancelEventHandler(this.WinPI_Closing); #line default #line hidden return; case 2: this.NameClient = ((System.Windows.Controls.TextBox)(target)); #line 10 "..\..\InfoAboutClient.xaml" this.NameClient.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.MouseRBU); #line default #line hidden #line 10 "..\..\InfoAboutClient.xaml" this.NameClient.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseRBD); #line default #line hidden return; case 3: this.NomberClient = ((System.Windows.Controls.TextBox)(target)); #line 11 "..\..\InfoAboutClient.xaml" this.NomberClient.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseRBD); #line default #line hidden #line 11 "..\..\InfoAboutClient.xaml" this.NomberClient.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.MouseRBU); #line default #line hidden return; case 4: this.NameTovar = ((System.Windows.Controls.GroupBox)(target)); return; case 5: this.Nomber = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.Artickul = ((System.Windows.Controls.TextBox)(target)); #line 15 "..\..\InfoAboutClient.xaml" this.Artickul.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseRBD); #line default #line hidden #line 15 "..\..\InfoAboutClient.xaml" this.Artickul.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.MouseRBU); #line default #line hidden return; case 7: this.DateEnd = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.AVS = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.Edit = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\InfoAboutClient.xaml" this.Edit.Click += new System.Windows.RoutedEventHandler(this.Edit_Click); #line default #line hidden return; case 10: this.Print = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\InfoAboutClient.xaml" this.Print.Click += new System.Windows.RoutedEventHandler(this.Print_Click); #line default #line hidden return; case 11: this.Delete = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\InfoAboutClient.xaml" this.Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click); #line default #line hidden return; case 12: this.Alarm = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\InfoAboutClient.xaml" this.Alarm.Click += new System.Windows.RoutedEventHandler(this.Alarm_Click); #line default #line hidden return; case 13: this.TovarGood = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\InfoAboutClient.xaml" this.TovarGood.Click += new System.Windows.RoutedEventHandler(this.TovarGood_Click); #line default #line hidden return; case 14: this.Kol = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.Message = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\InfoAboutClient.xaml" this.Message.Click += new System.Windows.RoutedEventHandler(this.Message_Click); #line default #line hidden return; case 16: this.NewDate = ((System.Windows.Controls.Grid)(target)); return; case 17: this.OkeyBtn = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\InfoAboutClient.xaml" this.OkeyBtn.Click += new System.Windows.RoutedEventHandler(this.OkeyBtn_Click); #line default #line hidden return; case 18: this.CancelBtn = ((System.Windows.Controls.Button)(target)); #line 45 "..\..\InfoAboutClient.xaml" this.CancelBtn.Click += new System.Windows.RoutedEventHandler(this.CancelBtn_Click); #line default #line hidden return; case 19: this.NewDatePicker = ((System.Windows.Controls.DatePicker)(target)); return; case 20: this.DateAdd = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.Prodav = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.Status = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }