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); }
public override string ToString() { return(BankID.ToString() + ' ' + BranchID.ToString()); }