private void button1_Copy_Click(object sender, RoutedEventArgs e) { Window3 W = new Window3(); W.Show(); this.Close(); }
private void button_Copy_Click(object sender, RoutedEventArgs e) { var win = new Window3(); win.Show(); this.Close(); }
private void voltar_Click(object sender, RoutedEventArgs e) { Window3 W = new Window3(); W.Show(); this.Close(); }
private void p_MouseDoubleClick(object sender, MouseButtonEventArgs e) { string img = im.At(p.SelectedIndex); string nme = p.SelectedValue.ToString(); Window3 w3 = new Window3(nme, img); w3.ShowDialog(); }
private void b_Click(object sender, RoutedEventArgs e) { Window3 winTool = new Window3(); //Назначение текущего окна владельцем. winTool.Owner = this; //Отображение окна, принадлежащего окну-владельцу. winTool.Show(); this.Hide(); }
private void AddProductOrCategory_Click(object sender, RoutedEventArgs e) { Window3 AddProductOrCategory = new Window3(); AddProductOrCategory.Show(); this.Hide(); }
private void button_Click(object sender, RoutedEventArgs e) { String name = nameTextBox.Text; String password = passwordBox.Password; String repeatPassword = repeatPasswordBox.Password; if (HelperFunctions.validateUsername(name) && HelperFunctions.validatePassword(password) && password == repeatPassword) { Data.newUserName = name; Data.newUserPassword = password; Window3 w = new Window3(); w.Show(); this.Close(); } else { MessageBox.Show("Invalid data!"); } }
public void DispatcherTimer_Tick(object sender, EventArgs e) { if (Barra_Carregamento.Value < 100) { Barra_Carregamento.Value = Barra_Carregamento.Value + 1; porcentagem.Content = Barra_Carregamento.Value.ToString(); if (Barra_Carregamento.Value >= 0) { Carregador.Content = "Importando Bibliotecas..."; } if (Barra_Carregamento.Value > 25) { Carregador.Content = "Importando Formas..."; } if (Barra_Carregamento.Value > 60) { Carregador.Content = "Aguarde..."; } if (Barra_Carregamento.Value > 90) { image.Visibility = Visibility.Hidden; if (Barra_Carregamento.Value > 99) { image.Visibility = Visibility.Visible; } if (Barra_Carregamento.Value == 100) { dispatcherTimer.Stop(); Window3 W = new Window3(); W.Show(); this.Close(); } } } }
private void button2_Click(object sender, RoutedEventArgs e) { Window3 a = new Window3(); a.Visibility = Visibility.Visible; }
private void button_Click(object sender, RoutedEventArgs e) { Window3 window3 = new Window3(list); window3.ShowDialog(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AddProductorCategoryWindow = ((WpfApplication2.Window3)(target)); return; case 2: this.Category_Grid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.CategoriesImageList = ((System.Windows.Controls.Grid)(target)); return; case 4: this.image = ((System.Windows.Controls.Image)(target)); return; case 5: this.image_Copy = ((System.Windows.Controls.Image)(target)); return; case 6: this.image_Copy1 = ((System.Windows.Controls.Image)(target)); return; case 7: this.image_Copy2 = ((System.Windows.Controls.Image)(target)); return; case 8: this.C1 = ((System.Windows.Controls.Label)(target)); return; case 9: this.C2 = ((System.Windows.Controls.Label)(target)); return; case 10: this.C3 = ((System.Windows.Controls.Label)(target)); return; case 11: this.C4 = ((System.Windows.Controls.Label)(target)); return; case 12: this.label = ((System.Windows.Controls.Label)(target)); return; case 13: this.CategoriesList = ((System.Windows.Controls.Label)(target)); return; case 14: this.Add_Categories = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\Window3.xaml" this.Add_Categories.Click += new System.Windows.RoutedEventHandler(this.Add_Categories_Click); #line default #line hidden return; case 15: this.Add_Product = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\Window3.xaml" this.Add_Product.Click += new System.Windows.RoutedEventHandler(this.Add_Product_Click); #line default #line hidden return; case 16: this.listBox = ((System.Windows.Controls.ListBox)(target)); return; } this._contentLoaded = true; }
// Avaa Tips ikkunan private void button1_Click(object sender, RoutedEventArgs e) { Window3 win4 = new Window3(); win4.Show(); }
private void button3_Click(object sender, RoutedEventArgs e) { Window3 obj2 = new Window3(); obj2.Show(); }
private void area_Click(object sender, RoutedEventArgs e) { Window3 wnd = new Window3(); wnd.Show(); }