private void SQL_Click(object sender, RoutedEventArgs e) { SQLForm myForm = new SQLForm(); myForm.Owner = this; myForm.Show(); }