private void btnAddEmployee_Click(object sender, RoutedEventArgs e) { NewAccount na = new NewAccount(this); na.ShowDialog(); updateList(); }
public Login() { InitializeComponent(); if (con.isEmpty() == true) { NewAccount na = new NewAccount(this); na.ShowDialog(); con.GetAllEmployees(); } }