private void btnAddNew_Click(object sender, EventArgs e)
        {
            frmSale sale = new frmSale();

            sale.ShowDialog();
            LoadSaleMaster();
        }
 private void btnAddNew_Click(object sender, EventArgs e)
 {
     try
     {
         frmSale sale = new frmSale();
         sale.ShowDialog();
         LoadDeletedSaleMaster();
     }
     catch (Exception ex)
     {
         BusinessModel.Log.Logger(ex);
     }
 }
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         if (dataGridView1.CurrentCell != null)
         {
             int     SaleId = Convert.ToInt32(dataGridView1.Rows[dataGridView1.CurrentCell.RowIndex].Cells[0].Value);
             frmSale sale   = new frmSale(SaleId);
             sale.ShowDialog();
             LoadSaleMaster();
         }
     }
     catch (Exception ex)
     {
         BusinessModel.Log.Logger(ex);
     }
 }
Beispiel #4
0
        private void btnSale_Click(object sender, EventArgs e)
        {
            frmSale Sale = new frmSale();

            Sale.ShowDialog();
        }
Beispiel #5
0
        private void itemSaleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSale obj = new frmSale();

            obj.ShowDialog();
        }