コード例 #1
0
        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();
        }
コード例 #2
0
        private void Grid_Loaded(object sender, RoutedEventArgs e)
        {
            checkFormAType chckFrm = new checkFormAType();

            chckFrm.Owner = this;
        }
コード例 #3
0
        private void SELECT_Click_1(object sender, RoutedEventArgs e)
        {
            checkFormAType cFAT = new checkFormAType();

            cFAT.ShowDialog();
        }