コード例 #1
0
        public MainForm()
        {
            InitializeComponent();
            Form_HabitChecking testForm = new Form_HabitChecking();

            testForm.Show();
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: Judy-Fang/CSharp-Final
        private void habitBtn_Click(object sender, EventArgs e)
        {
            Form_HabitChecking testForm = new Form_HabitChecking();

            testForm.Owner = this;
            testForm.Show();
        }