private void btn_get_code_Click(object sender, EventArgs e) { frm_code_collection frm = new frm_code_collection(); frm.father = this; frm.Show(); }
private void txt_code_KeyDown(object sender, KeyEventArgs e) { if (e.Control && (e.KeyCode == Keys.F5)) { this.txt_result.Text = run_code(this.txt_code.Text); } if (e.Control && (e.KeyCode == Keys.F6)) { frm_code_collection frm = new frm_code_collection(); frm.father = this; frm.Show(); } if (e.Control && (e.KeyCode == Keys.F7)) { this.txt_result.Text = ""; } if (e.Control && (e.KeyCode == Keys.F8)) { this.txt_code.Text = ""; } }