コード例 #1
0
ファイル: Clerk_Show.cs プロジェクト: mr-amini/Almas
 private void elButton8_Click(object sender, EventArgs e)
 {
     string sex = elRadioButton2.Checked == true ? "خانم" : "آقای";
     if(extramessage_frm.Show("آیا مایل به حذف " + sex + " " + elEntryBox2.Value.ToString() + " " + elEntryBox3.Value.ToString() + " می باشید ؟ ",MessageBoxButtons.YesNo, MessageBoxIcon.Error) == System.Windows.Forms.DialogResult.Yes)
     {
         BLL.cleark clrk = new BLL.cleark();
         clrk.Delete(elEntryBox1.Value.ToString());
         elButton6_Click(null, null);
         Modal1.Close();
     }
 }