private void button1_Click(object sender, RoutedEventArgs e) { //admin login details Window2 AdminLogin = new Window2(); AdminLogin.Show(); }
private void Save_Click(object sender, RoutedEventArgs e) { Window2 W2 = new Window2(); W2.txtPhone_W2.Text = txtPhone.Text; W2.Show(); Hide(); }
private void m92_Click(object sender, RoutedEventArgs e) { //Создание нового окна. Window2 winTool = new Window2(); //Назначение текущего окна владельцем. winTool.Owner = this; //Отображение окна, принадлежащего окну-владельцу. winTool.Show(); this.Hide(); }
private void button_Copy1_Click(object sender, RoutedEventArgs e) { try { Window2 w2 = new Window2("none"); w2.ShowDialog(); } catch { } }
private void asks_Click(object sender, RoutedEventArgs e) { try { Window2 w2 = new Window2(log); w2.ShowDialog(); poisk(); } catch { } }
private void button1_Click(object sender, RoutedEventArgs e) { if (Is_Logged.logged) { Window2 window2 = new Window2(list); window2.ShowDialog(); } else { MessageBox.Show("Доступно только для зарегистрированных пользователей!"); } }
private void button1_Click(object sender, RoutedEventArgs e) { Window2 a = new Window2(); a.Visibility = Visibility.Visible; }
private void Connect_Click(object sender, RoutedEventArgs e) { Window2 w = new Window2(); w.Show(); }
// Avaa Encryption ikkunan private void button2_Click(object sender, RoutedEventArgs e) { Window2 win3 = new Window2(); win3.Show(); }
private void konwenter_Click(object sender, RoutedEventArgs e) { Window2 wnd = new Window2(); wnd.Show(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.windowframe = ((WpfApplication2.Window2)(target)); #line 8 "..\..\Window2.xaml" this.windowframe.SizeChanged += new System.Windows.SizeChangedEventHandler(this.windowframe_SizeChanged); #line default #line hidden return; case 2: this.tmp = ((System.Windows.Controls.Button)(target)); return; case 3: this.txtPhone_W2 = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.txtName = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txtStreet = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.txtZIP = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.txtCity = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.txtEmail = ((System.Windows.Controls.TextBox)(target)); return; case 9: #line 53 "..\..\Window2.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click); #line default #line hidden return; case 10: #line 56 "..\..\Window2.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Cancel_Click); #line default #line hidden return; case 11: this.Contact_sound = ((System.Windows.Controls.MediaElement)(target)); return; } this._contentLoaded = true; }