コード例 #1
0
        private void btnAddEmployee_Click(object sender, RoutedEventArgs e)
        {
            NewAccount na = new NewAccount(this);

            na.ShowDialog();
            updateList();
        }
コード例 #2
0
 public Login()
 {
     InitializeComponent();
     if (con.isEmpty() == true)
     {
         NewAccount na = new NewAccount(this);
         na.ShowDialog();
         con.GetAllEmployees();
     }
 }