示例#1
0
 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();
     }
 }
示例#2
0
        private void BtnClientes_Click(object sender, RoutedEventArgs e)
        {
            wClientes cli = new wClientes();

            cli.ShowDialog();
        }