Beispiel #1
0
        private void btnHienThi_Click(object sender, EventArgs e)
        {
            string     tenkehang = (string)gvDSHangHoa.GetFocusedRowCellValue(colTenKhuVuc);
            DateTime   tg        = Convert.ToDateTime(gvDSHangHoa.GetFocusedRowCellValue(colNgayTao));
            string     _TenUser  = (string)gvDSHangHoa.GetFocusedRowCellValue(colTenUser);
            string     TenKho    = (string)gvDSHangHoa.GetFocusedRowCellValue(colTenKho);
            listKiemke frmKK     = new listKiemke();

            frmKK.TenKeHang = tenkehang;
            frmKK.ThoiGian  = tg;
            frmKK.ID_User   = UserID;
            frmKK.IDStore   = _IDKho;
            frmKK.i         = i;

            frmKK.ShowDialog();
        }
Beispiel #2
0
        //private void (object sender, /*DevExpress.XtraEditors.Controls.ButtonPressedEventArgs*/EventArgs e)
        //{

        //}
        private void click(object sender, EventArgs e)
        {
            string     tenkehang = (string)gvDSHangHoa.GetFocusedRowCellValue(colTenKhuVuc);
            DateTime   tg        = Convert.ToDateTime(gvDSHangHoa.GetFocusedRowCellValue(colNgayTao));
            string     _TenUser  = (string)gvDSHangHoa.GetFocusedRowCellValue(colTenUser);
            string     TenKho    = (string)gvDSHangHoa.GetFocusedRowCellValue(colTenKho);
            listKiemke frmKK     = new listKiemke();

            frmKK.TenKeHang = tenkehang;
            frmKK.ThoiGian  = tg;
            frmKK.ID_User   = UserID;
            frmKK.IDStore   = _IDKho;
            frmKK.i         = i;
            if (frmKK.ShowDialog() == DialogResult.Yes)
            {
                this.Close();
            }
            MessageBox.Show("1");
        }