示例#1
0
        private void button7_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form9 a = new Form9();

            a.Show();
        }
示例#2
0
        private void button6_Click(object sender, EventArgs e)
        {
            Form9 frm9 = new Form9();

            frm9.Show();
            this.Hide();
        }
示例#3
0
        private void button11_Click(object sender, EventArgs e)
        {
            Form9 form9 = new Form9();

            form9.Show();
            Hide();
        }
示例#4
0
        private void backbtn_Click(object sender, EventArgs e)
        {
            Form9 form = new Form9();

            form.Show();
            this.Hide();
        }
示例#5
0
        private void button6_Click(object sender, EventArgs e)
        {
            Form9 myform = new Form9();   //新窗口

            myform.Show();
            this.Close(); //关闭
        }
示例#6
0
        private void button7_Click(object sender, EventArgs e)
        {
            Form9 form9 = new Form9();

            this.Close();
            form9.Show();
        }
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Form9 form = new Form9();

            form.Show();
            this.Hide();
        }
示例#8
0
        private void button3_Click(object sender, EventArgs e)
        {
            Class1.matlab = 3;
            Form9 f9 = new Form9();

            f9.Show();
            timer1.Enabled = true;
        }
示例#9
0
文件: Form8.cs 项目: pharinp/Python
 private void Btn_Send_f8_Click(object sender, EventArgs e)//ตรวจสอบรหัส
 {
     if (randomCode == txtVerCode_f7.Text.ToString())
     {
         to = txt_Email.Text;
         Form9 a = new Form9();
         this.Hide();
         a.Show();
     }
     else
     {
         MessageBox.Show("รหัส OTP ไม่ถูกต้อง", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
示例#10
0
 private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString() == "Edit")
     {
         dash.rubId = Convert.ToInt32(dataGridView1.Rows[e.RowIndex].Cells[0].Value);
         this.Hide();
         Form9 rubric = new Form9();
         rubric.Show();
     }
     if (dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString() == "Delete")
     {
         int clId = Convert.ToInt32(dataGridView1.Rows[e.RowIndex].Cells[0].Value);
         if (MessageBox.Show("Do you want to delete " + dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString() + "?", "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
         {
             SqlConnection connect = new SqlConnection(cnn);
             connect.Open();
             SqlCommand command = new SqlCommand("DELETE FROM Rubric WHERE Id  = '" + clId + "'", connect);
             command.ExecuteNonQuery();
             connect.Close();
             this.rubricTableAdapter.Fill(this.projectBDataSet1.Rubric);
         }
     }
 }
示例#11
0
        private void Top3_Click(object sender, EventArgs e)
        {
            Form9 fm = new Form9();

            fm.Show();
        }
示例#12
0
文件: 父窗口.cs 项目: 77XX/X
 private void button1_Click(object sender, EventArgs e)
 {
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 0)
     {
         Form2 form2 = new Form2();
         this.Hide();
         form2.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 1)
     {
         Form3 form3 = new Form3();
         this.Hide();
         form3.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 2)
     {
         Form4 form4 = new Form4();
         this.Hide();
         form4.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 3)
     {
         Form5 form5 = new Form5();
         this.Hide();
         form5.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 4)
     {
         Form6 form6 = new Form6();
         this.Hide();
         form6.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 5)
     {
         Form7 form7 = new Form7();
         this.Hide();
         form7.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 6)
     {
         Form8 form8 = new Form8();
         this.Hide();
         form8.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 7)
     {
         Form9 form9 = new Form9();
         this.Hide();
         form9.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 8)
     {
         Form10 form10 = new Form10();
         this.Hide();
         form10.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 9)
     {
         Form11 form11 = new Form11();
         this.Hide();
         form11.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 0)
     {
         Form12 form12 = new Form12();
         this.Hide();
         form12.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 1)
     {
         Form13 form13 = new Form13();
         this.Hide();
         form13.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 2)
     {
         Form14 form14 = new Form14();
         this.Hide();
         form14.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 3)
     {
         Form15 form15 = new Form15();
         this.Hide();
         form15.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 4)
     {
         Form16 form16 = new Form16();
         this.Hide();
         form16.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 5)
     {
         Form17 form17 = new Form17();
         this.Hide();
         form17.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 6)
     {
         Form18 form18 = new Form18();
         this.Hide();
         form18.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 7)
     {
         Form19 form19 = new Form19();
         this.Hide();
         form19.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 8)
     {
         Form20 form20 = new Form20();
         this.Hide();
         form20.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 9)
     {
         Form21 form21 = new Form21();
         this.Hide();
         form21.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 10)
     {
         Form22 form22 = new Form22();
         this.Hide();
         form22.Show();
     }
 }
示例#13
0
        private void button7_Click(object sender, EventArgs e)
        {
            Form9 f = new Form9();

            f.Show();
        }
示例#14
0
        private void button19_Click(object sender, EventArgs e)
        {
            Form9 f9 = new Form9();

            f9.Show();
        }
示例#15
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form9 form = new Form9();

            form.Show();
        }
示例#16
0
        private void button9_Click(object sender, EventArgs e)
        {
            var errorForm9 = new Form9();

            errorForm9.Show();
        }