private void ieopen(object sender, RoutedEventArgs e) { Window3 objWindow3 = new Window3(); objWindow3.Show(); this.Close(); }
public Window6(Window3 parent) { InitializeComponent(); sites.AddRange(parent.user.Sites); ListView.ItemsSource = sites; this.parent = parent; }
public Window5(Window3 parent, Site site) { InitializeComponent(); this.site = site; NameTextBox.Text = site.Name; LoginTextBox.Text = site.Login; Password.Password = site.Password; UrlTextBox.Text = site.Url; Description.Text = site.Description; this.parent = parent; }
public Stats(Window3 parent, int state) { InitializeComponent(); this.state = state; switch (state) { case 0: MaterialDesignThemes.Wpf.HintAssist.SetHint(textBox, "Login"); break; case 1: MaterialDesignThemes.Wpf.HintAssist.SetHint(textBox, "Password"); break; } this.parent = parent; }
private void timer_Tick(object sender, EventArgs e) { if (progress != 100) { ButtonProgressAssist.SetValue(LoginButton, progress); progress += 1; } else { (sender as DispatcherTimer).Stop(); Window3 wind = new Window3(foundUser); wind.Show(); context.SaveChanges(); this.Close(); } }
public Window5(Window3 parent) { InitializeComponent(); this.parent = parent; }