private void initialize(Page parent) { this.parent = parent; shortCutReaderWriter = SpringUtil.getService<IShortcutReaderWriterService>(); editView = new ShortCutEditView(); editView.OnSaveEvent += new EventHandler(editView_OnSaveEvent); }
private IShortcutReaderWriterService getReaderWriterService() { if (null == readerWriterService) { readerWriterService = SpringUtil.getService<IShortcutReaderWriterService>(); } return readerWriterService; }
private void initialize() { shortcutService = SpringUtil.getService<IShortcutReaderWriterService>(); foreach (ShortcutDefinition item in shortcutService.ReadDefinitionsFromDirectory()) { tabcontrol.Items.Add(item); } }
private void initialize() { shortcutReaderWriter = SpringUtil.getService<IShortcutReaderWriterService>(); }