예제 #1
0
        public frmReportSold(frmSoldItems frm)
        {
            InitializeComponent();
            con = new MySqlConnection(dbCon.getConnection());

            f = frm;
        }
예제 #2
0
        private void btnDailySales_Click(object sender, EventArgs e)
        {
            frmSoldItems frm = new frmSoldItems();

            frm.dt1.Enabled        = false;
            frm.dt2.Enabled        = false;
            frm.suser              = lblUsername.Text;
            frm.cboCashier.Enabled = false;
            frm.cboCashier.Text    = lblUsername.Text;
            frm.ShowDialog();
        }
예제 #3
0
 public frmCancelDetails(frmSoldItems frm)
 {
     InitializeComponent();
     f = frm;
     this.KeyPreview = true;
 }
예제 #4
0
        private void btnPos_Click(object sender, EventArgs e)
        {
            frmSoldItems frm = new frmSoldItems();

            frm.ShowDialog();
        }