private void Frm_Teklif_Adim1_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode.ToString() == "F1") { frm_PozluKayit pkf = new frm_PozluKayit(this); pkf.ShowDialog(); } if (e.KeyCode.ToString() == "F2") { Forms.frm_ObfKayit okf = new frm_ObfKayit(this); okf.ShowDialog(); } }
private void simpleButton2_Click(object sender, EventArgs e) { Forms.frm_ObfKayit okf = new frm_ObfKayit(this); okf.SelectedGroupId = this.SelectedGroupId; okf.ShowDialog(); }