private void Katalog_Click(object sender, RoutedEventArgs e) { Katalog kat = new Katalog(); kat.Show(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Katalog1 = ((World_yachts.Katalog)(target)); #line 8 "..\..\Katalog.xaml" this.Katalog1.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.каталогDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.наименование_товараColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.номер_для_заказаColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.тип_лодкиColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.количество_мест_для_гребцовColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.сорта_дереваColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 8: this.цветColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 9: this.базовая_ценаColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 10: this.нДСColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 11: #line 30 "..\..\Katalog.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }