コード例 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            main mymain = new main();

            this.Hide();
            mymain.ShowDialog();
        }
コード例 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            main mymain = new main();

            this.Hide();
            mymain.ShowDialog();
        }
コード例 #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     main mymain = new main();
     mymain.Owner = this;
     this.Hide();
     mymain.ShowDialog();
     Application.ExitThread();
 }
コード例 #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            main mymain = new main();

            mymain.Owner = this;
            this.Hide();
            mymain.ShowDialog();
            Application.ExitThread();
        }
コード例 #5
0
        private void button1_Click(object sender, EventArgs e)
        {
            OpenDB();
            SqlCommand comd1 = new SqlCommand("delete from number", sqlConn);

            comd1.ExecuteNonQuery();
            CloseDB();

            main mymain = new main();

            this.Hide();
            mymain.ShowDialog();
        }
コード例 #6
0
        private void button1_Click(object sender, EventArgs e)
        {
            OpenDB();
            SqlCommand comd1 = new SqlCommand("delete from number", sqlConn);
            comd1.ExecuteNonQuery();
            CloseDB();
            
            main mymain = new main();
           
            this.Hide();
            mymain.ShowDialog();
           

        }