コード例 #1
0
        private void openFormB(object sender, RoutedEventArgs e)
        {
            checkFormBType checkWindow = new checkFormBType();

            checkWindow.Owner = checkFormBType.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)
        {
            checkFormBType chckFrm = new checkFormBType();

            chckFrm.Owner = this;
        }