Esempio n. 1
0
 private void GVDL_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == Convert.ToChar(Keys.Enter))
     {
         new frmDaiLyThem(GVDL.GetRow(GVDL.GetSelectedRows()[0]) as O_DAILY).ShowDialog(ParentForm);
     }
 }
Esempio n. 2
0
 private void BtnThonKe_Click(object sender, EventArgs e)
 {
     if (index == 1)
     {
         O_DAILY dl = GVDL.GetRow(GVDL.GetSelectedRows()[0]) as O_DAILY;
         new frmBieuDoDaiLy(dl.ID).ShowDialog();
     }
 }
Esempio n. 3
0
        private void BtnSIC_Click(object sender, EventArgs e)
        {
            O_DAILY dl = GVDL.GetRow(GVDL.GetSelectedRows()[0]) as O_DAILY;

            if (dl.SIC > 0)
            {
                new frmSignIn(dl).ShowDialog();
            }
        }
Esempio n. 4
0
 private void grvDaiLy_DoubleClick(object sender, EventArgs e)
 {
     new frmDaiLyThem(GVDL.GetRow(GVDL.GetSelectedRows()[0]) as O_DAILY).ShowDialog(ParentForm);
 }
Esempio n. 5
0
        private void BtnUpQuy_Click(object sender, EventArgs e)
        {
            O_DAILY dl = GVDL.GetRow(GVDL.GetSelectedRows()[0]) as O_DAILY;

            new frmQuyAGS(dl).ShowDialog(this);
        }
Esempio n. 6
0
        private void BtnChiTiet_Click(object sender, EventArgs e)
        {
            O_DAILY dl = GVDL.GetRow(GVDL.GetSelectedRows()[0]) as O_DAILY;

            new frmCongNoPhu(dl).ShowDialog();
        }