bool UpdateEwayBalance(long Qty, string Remarks)
        {
            FaspiApiHandler.BLEwaybill objEway = new FaspiApiHandler.BLEwaybill();
            string strRes = objEway.AddUseQuantity(LicenceKey, Qty, Remarks);

            if (objEway.StatusCode.ToLower() == "ok")
            {
                return(true);
            }

            return(false);
        }
        bool CheckEwayBalance(bool isShoMsg = true)
        {
            FaspiApiHandler.BLEwaybill objEway = new FaspiApiHandler.BLEwaybill();
            long iRes = objEway.GetRemainEwayBill(LicenceKey);

            groupBox1.Text      = "Basic Detail";
            lblAPIBalannce.Text = "API Balance : " + iRes.ToString();

            if (objEway.StatusCode.ToLower() == "ok" && iRes > 0)
            {
                return(true);
            }
            else if (objEway.StatusCode.ToLower() == "ok" && iRes <= 0 && isShoMsg == true)
            {
                MessageBox.Show(this, "Insufficient Api Balance.", "Eway Bill", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
            else if (isShoMsg == true)
            {
                MessageBox.Show(this, "Something Went Wrong. Check Your Network Connection, Try Again.", "Eway Bill", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }

            return(false);
        }