private void btnViewItems_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            if (gvBills.FocusedRowHandle < 0)
            {
                return;
            }
            DataTable dtItems = new POSRepository().GetBillDetailByID(CounterID,
                                                                      gvBills.GetFocusedRowCellValue("BILLID"));
            frmViewDCItems obj = new frmViewDCItems(dtItems, true);

            obj.ShowInTaskbar        = false;
            obj.StartPosition        = FormStartPosition.CenterScreen;
            obj.IconOptions.ShowIcon = false;
            obj.ShowDialog();
        }
        private void btnViewRefunds_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            if (gvDayClosure.FocusedRowHandle < 0)
            {
                return;
            }
            DataTable dtItems = new POSRepository().GetDayClosureRefund(
                gvDayClosure.GetFocusedRowCellValue("BRANCHCOUNTERID"),
                gvDayClosure.GetFocusedRowCellValue("DAYCLOSUREID"));
            frmViewDCItems obj = new frmViewDCItems(dtItems, false, true);

            obj.ShowInTaskbar        = false;
            obj.StartPosition        = FormStartPosition.CenterScreen;
            obj.IconOptions.ShowIcon = false;
            obj.ShowDialog();
        }