private void BtnLogin_Click(object sender, RoutedEventArgs e) { if (Login.CheckUser("", "")) { MessageBox.Show("Login OK!"); wClientes menu = new wClientes(); this.Visibility = Visibility.Hidden; menu.Show(); } }
private void BtnClientes_Click(object sender, RoutedEventArgs e) { wClientes cli = new wClientes(); cli.ShowDialog(); }