/// <summary>
        /// Populates lookups and tables
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void SystemSetting_Load(object sender, EventArgs e)
        {
            PopulatePrograms();
            // TAb IIN
            BLL.INN innInfo = new INN();
            innInfo.LoadAll();
            innInfo.Sort = "IIN";
            PopulateINN(innInfo);

            // TAb Category

            BLL.Type type = new BLL.Type();
            type.LoadAll();
            lkCategory.DataSource = type.DefaultView;

            PopulateCategoryTree();
            //unit section
            BLL.Unit uni = new Unit();
            uni.LoadAll();
            lstUnits.DataSource = uni.DefaultView;

            // dosage form section
            DosageForm doForm = new DosageForm();
            doForm.LoadAll();
            doForm.Sort = "Form";
            PopulateDosageForm(doForm);
            //receiving status section
            // PopulateManufacturer();
            //disposal reasons
            DisposalReasons reason = new DisposalReasons();
            reason.LoadAll();
            reason.Sort = "Reason";
            PopulateDisposalReason(reason);
            //location regions zones and woredas
            PopulateLocationTree();
            PopulateSupplyCatTree();

            PopulateBalance();
        }
        /// <summary>
        /// Saves INN related info
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnInnSave_Click(object sender, EventArgs e)
        {
            if (txtINN.Text != "")
            {
                INN newInn = new INN();
                if (_innId != 0)
                    newInn.LoadByPrimaryKey(_innId);
                else
                    newInn.AddNew();
                newInn.IIN = txtINN.Text;
                //newInn.ATC = txtATC.Text;
                newInn.Description = txtIINDescription.Text;
                newInn.TypeID = ((rdDrug.Checked) ? 1 : 2);
                newInn.Save();
                newInn.LoadAll();
                PopulateINN(newInn);
                ResetInnForm();
            }
            else
            {
                txtINN.BackColor = Color.FromArgb(251, 214, 214);

            }
        }