private void Logout_Click(object sender, RoutedEventArgs e) { this.Hide(); AuthWindow authWindow = new AuthWindow(); Properties.Settings.Default.Reset(); authWindow.Show(); }
public MainWindow() { AuthWindow authWindow = new AuthWindow(); authWindow.Show(); this.Hide(); InitializeComponent(); }