private void Button_Click(object sender, RoutedEventArgs e) { Window8 task1 = new Window8(); this.Hide(); task1.Show(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.StartBashe = ((WpfApp1.Window8)(target)); return; case 2: this.Start = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\Window8.xaml" this.Start.Click += new System.Windows.RoutedEventHandler(this.Start_Click); #line default #line hidden return; case 3: this.AITurn = ((System.Windows.Controls.CheckBox)(target)); return; case 4: this.NTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.NLbl = ((System.Windows.Controls.Label)(target)); return; case 6: this.KLbl = ((System.Windows.Controls.Label)(target)); return; case 7: this.KTextBox = ((System.Windows.Controls.TextBox)(target)); #line 16 "..\..\Window8.xaml" this.KTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.KTextBox_TextChanged); #line default #line hidden return; } this._contentLoaded = true; }
private void buttonToolBar_Click(object sender, RoutedEventArgs e) { Window8 window = new Window8(); window.ShowDialog(); }
private void Tampere_Click(object sender, RoutedEventArgs e) { Window8 sääTiedot8 = new Window8(); sääTiedot8.Show(); }