private void Lab_Click(object sender, RoutedEventArgs e) { LabForm myLab = new LabForm(); myLab.Owner = this; myLab.Show(); }