示例#1
0
        private void btn_DoubleClick(object sender, EventArgs e)
        {
            frmGoiMon fr = new frmGoiMon();

            fr.MyGetData = new frmGoiMon.GetKT(GetValueGoiMon);
            fr.ShowDialog();
        }
        private void barButtonChonMon_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmGoiMon fr = new frmGoiMon();

            fr.MyGetData = new frmGoiMon.GetKT(GetValueGoiMon);
            fr.ShowDialog();
        }
示例#3
0
        private void btn_KeyDown(object sender, KeyEventArgs e)
        {
            switch (e.KeyCode)
            {
            case Keys.F1:
                InTamHoaDon();
                break;

            case Keys.F2:
                TachBill();
                break;

            case Keys.F3:
                ThanhToanTien();
                break;

            case Keys.F5:
                frmGoiMon fr = new frmGoiMon();
                fr.MyGetData = new frmGoiMon.GetKT(GetValueGoiMon);
                fr.ShowDialog();
                break;

            default:
                break;
            }
        }