private void btnEdit_Click(object sender, EventArgs e)
        {
            if (cvBar_Rent_Reserve.GetFocusedRowCellValue("Id_Reserve") == null)
            {
                GoobizFrame.Windows.Forms.UserMessage.Show("SYS_EMPTY_COLLECTION", new string[] { "danh sách đặt phòng" });
                return;
            }
            // xóa file tmp trong folder Default\AppForms để update label khi Loadform
            string path_file = @"Resources\Default\AppForms\Ecm.Bar.Frmbar_Rent_Reserve_Info";

            if (System.IO.File.Exists(path_file))
            {
                System.IO.File.Delete(path_file);
            }
            _Frmbar_Rent_Reserve_Info = new Frmbar_Rent_Reserve_Info();
            _Frmbar_Rent_Reserve_Info.barSystem.Visible = false;
            _Frmbar_Rent_Reserve_Info.Icon        = GoobizFrame.Windows.MdiUtils.ThemeSettings.GetProductIcon();
            _Frmbar_Rent_Reserve_Info.WindowState = System.Windows.Forms.FormWindowState.Normal;

            _Frmbar_Rent_Reserve_Info.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            _Frmbar_Rent_Reserve_Info.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;

            _Frmbar_Rent_Reserve_Info.ChangeFormState(GoobizFrame.Windows.Forms.FormState.Edit);
            _Frmbar_Rent_Reserve_Info.Current_Id_Reserve = cvBar_Rent_Reserve.GetFocusedRowCellValue("Id_Reserve");
            _Frmbar_Rent_Reserve_Info.PerformEdit();
            _Frmbar_Rent_Reserve_Info.ShowDialog();

            DisplayInfo();
        }
        private void btnAdd_Click(object sender, EventArgs e)
        {
            // xóa file tmp trong folder Default\AppForms để update label khi Loadform
            string path_file = @"Resources\Default\AppForms\Ecm.Bar.Frmbar_Rent_Reserve_Info";

            if (System.IO.File.Exists(path_file))
            {
                System.IO.File.Delete(path_file);
            }
            _Frmbar_Rent_Reserve_Info = new Frmbar_Rent_Reserve_Info();
            _Frmbar_Rent_Reserve_Info.barSystem.Visible = false;
            _Frmbar_Rent_Reserve_Info.Icon        = GoobizFrame.Windows.MdiUtils.ThemeSettings.GetProductIcon();
            _Frmbar_Rent_Reserve_Info.WindowState = System.Windows.Forms.FormWindowState.Normal;

            _Frmbar_Rent_Reserve_Info.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            _Frmbar_Rent_Reserve_Info.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;

            _Frmbar_Rent_Reserve_Info.ChangeFormState(GoobizFrame.Windows.Forms.FormState.Add);
            _Frmbar_Rent_Reserve_Info.PerformAdd();
            _Frmbar_Rent_Reserve_Info.ShowDialog();
            DisplayInfo();
        }