private void openForm_Click(object sender, RoutedEventArgs e) { checkFormAType checkWindow = new checkFormAType(); checkWindow.Owner = checkFormAType.GetWindow(this); idmodel = SELECT.Content.ToString(); // MessageBox.Show(idmodel); checkWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner; checkWindow.ShowDialog(); }
private void Grid_Loaded(object sender, RoutedEventArgs e) { checkFormAType chckFrm = new checkFormAType(); chckFrm.Owner = this; }
private void SELECT_Click_1(object sender, RoutedEventArgs e) { checkFormAType cFAT = new checkFormAType(); cFAT.ShowDialog(); }