/// <summary>
        /// Function to check the references in each one
        /// </summary>
        public void Checkreference()
        {
            try
            {

                SettingsBll BllSettings = new SettingsBll();
                List<DataTable> listObj = new List<DataTable>();
                DataTable dtblReferences = new DataTable();
                listObj = BllSettings.SettinsCheckReference();

                if (bool.Parse(listObj[0].Rows[0]["CurrencyExist"].ToString()) == true)
                {
                    cbxMultiCurrency.Enabled = false;
                }
                else
                {
                    cbxMultiCurrency.Enabled = true;
                }
                if (bool.Parse(listObj[0].Rows[0]["Godown"].ToString()) == true)
                {
                    cbxAllowGodown.Enabled = false;
                }
                else
                {
                    cbxAllowGodown.Enabled = true;
                }
                if (bool.Parse(listObj[0].Rows[0]["Rack"].ToString()) == true)
                {
                    cbxAllowRack.Enabled = false;
                }
                else
                {
                    cbxAllowRack.Enabled = true;
                }
                if (bool.Parse(listObj[0].Rows[0]["BillByBillExist"].ToString()) == true)
                {
                    cbxBillByBill.Enabled = false;
                }
                else
                {
                    cbxBillByBill.Enabled = true;
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("ST1: " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }