private void btnBlockDrop_Click(object sender, EventArgs e) { if (cmbGame.Text != "") { this.Dispose(); frmIntroduce frm = new frmIntroduce(); frm.strLevel = cmbGame.SelectedItem.ToString(); frm.IDGame = 6; frm.ShowDialog(); } }
private void btnTextPractice_Click(object sender, EventArgs e) { cmbTextPractice.Visible = true; if (cmbTextPractice.Text != "") { this.Dispose(); frmIntroduce frm = new frmIntroduce(); frm.strTime = cmbTextPractice.SelectedItem.ToString(); frm.IDGame = 2; frm.ShowDialog(); } }
private void btnTestABC_Click(object sender, EventArgs e) { if (cmbTestABC.Text != "") { this.Dispose(); frmIntroduce frm = new frmIntroduce(); frm.strcmbTestABC = cmbTestABC.SelectedItem.ToString(); frm.IDGame = 1; frm.ShowDialog(); } btnTextPractice.Visible = false; cmbTestABC.Visible = true; cmbTextPractice.Visible = false; }