示例#1
0
 private void btnDelete_Click(object sender, EventArgs e)
 {
     if (DialogResult.Yes == MessageBox.Show("Do you want to Delete this ? ", "Noted", MessageBoxButtons.YesNo, MessageBoxIcon.Question))
     {
         DA.DA_BillManagement bill = new DA.DA_BillManagement();
         bill.deleteDetail(dtFromdate.Value.ToString(), dtTodate.Value.ToString());
         MessageBox.Show("You have successfully delete an employee !");
     }
 }
示例#2
0
 public BL_BillManagement(GUI.FrmBillManagement frm)
 {
     this.frm = frm;
     bill     = new DA.DA_BillManagement();
 }