Example #1
0
        protected override void BindControls()
        {
            if (OptionsListForm.ServerMode)
            {
                return;
            }


            var subExport = XtraBarHelper.MoveIntoBarSubItem(miExport, "ექსპოსტი", miExport.Glyph);

            miExport.Glyph = null;
            XtraBarHelper.AddBarButtonItem(subExport, "ექსპორტი აპექსში", null, miExportApex);


            bsBranch.DataSource  = DictionaryManager.GetDictionary(ObjectNames.Branch);
            lookBranch.EditValue = BranchID.ToString();

            bsCurrency.DataSource = DictionaryManager.GetDictionary(ObjectNames.CurrencyWithLastRate, -1);
            CurrencyCode          = GlobalVariable.MyCompanyDefaultTradingCurrencyCode;

            bsMedicamentCategory.DataSource    = DictionaryManager.GetDictionary(ObjectNames.MedicamentCategory);
            bsMedicamentSubcategory.DataSource = DictionaryManager.GetDictionary(ObjectNames.MedicamentSubcategoryWithMedicamentCategoryID);
        }
Example #2
0
 public override string ToString()
 {
     return(BankID.ToString() + ' ' + BranchID.ToString());
 }