Example #1
0
        private void btnSaleHist_Click(object sender, EventArgs e)
        {
            POS           fpos = new POS();
            formSoldItems frm  = new formSoldItems(fpos);

            frm.ShowDialog();
        }
Example #2
0
        private void btnSales_Click(object sender, EventArgs e)
        {
            formSoldItems frm = new formSoldItems(this);

            frm.dt1.Enabled        = false;
            frm.dt2.Enabled        = false;
            frm.cboCashier.Enabled = false;
            frm.cboCashier.Text    = lblName.Text.Substring(0, lblName.Text.IndexOf(" |"));
            frm.ShowDialog();
        }
Example #3
0
 public formCancelDetails(formSoldItems frm)
 {
     InitializeComponent();
     fsold = frm;
 }
Example #4
0
 public reportSoldItems(formSoldItems frm)
 {
     InitializeComponent();
     cn   = new SqlConnection(dbCon.MyConnection());
     frpt = frm;
 }