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

            frm.ShowDialog();
        }
예제 #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();
        }