private void menu_viewStudent_Click(object sender, EventArgs e) { this.Hide(); ViewStudent student = new ViewStudent(); student.Show(); }
private void miViewStudent_Click(object sender, RoutedEventArgs e) { ViewStudent vst = new ViewStudent(); vst.ShowDialog(); }