private void bar_btn_sua_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            try
            {
                int i = (int)grv_quanlydonthukhieunai.GetFocusedRowCellValue("id_thongtinhieunai");
                #region check edit
                using (_khieunaitocaoContext = new khieunaitocaoContextDataContext())
                {
                    var _edit = _khieunaitocaoContext.check_xoadonthu(i).ToList();
                    if (_edit.Count() != 0)
                    {
                        XtraMessageBox.Show("Không được sửa nội dung đơn thư này");
                    }
                }
                #endregion
                thongtindonthucanhan f = new thongtindonthucanhan();
                f.bool_sua = true;

                f.id_thongtinKN = i;
                f.ShowDialog();
            }
            catch (Exception)
            {
                XtraMessageBox.Show("Vui lòng chọn đơn thư cần sửa");
            }
        }
        private void grv_quanlydonthukhieunai_DoubleClick(object sender, EventArgs e)
        {
            thongtindonthucanhan f = new thongtindonthucanhan();

            f.bool_sua = true;
            try
            {
                int i = (int)grv_quanlydonthukhieunai.GetFocusedRowCellValue("id_thongtinhieunai");
                f.id_thongtinKN = i;
                f.ShowDialog();
            }
            catch (Exception)
            {
                XtraMessageBox.Show("Vui lòng chọn đơn thư cần sửa");
            }
        }
        private void bar_quatrinhgiaiquyet_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            thongtindonthucanhan f = new thongtindonthucanhan();

            try
            {
                int i = (int)grv_quanlydonthukhieunai.GetFocusedRowCellValue("id_thongtinhieunai");
                f.bool_chuyen   = true;
                f.id_thongtinKN = i;
                f.ShowDialog();
            }
            catch (Exception)
            {
                throw;
                //XtraMessageBox.Show("Vui lòng chọn đơn thư cần chuyển");
            }
        }
        private void bar_them_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            thongtindonthucanhan f = new thongtindonthucanhan();

            f.ShowDialog();
        }