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); } }
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(); } }
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(); } }
private void grvDaiLy_DoubleClick(object sender, EventArgs e) { new frmDaiLyThem(GVDL.GetRow(GVDL.GetSelectedRows()[0]) as O_DAILY).ShowDialog(ParentForm); }
private void BtnUpQuy_Click(object sender, EventArgs e) { O_DAILY dl = GVDL.GetRow(GVDL.GetSelectedRows()[0]) as O_DAILY; new frmQuyAGS(dl).ShowDialog(this); }
private void BtnChiTiet_Click(object sender, EventArgs e) { O_DAILY dl = GVDL.GetRow(GVDL.GetSelectedRows()[0]) as O_DAILY; new frmCongNoPhu(dl).ShowDialog(); }