private IFormLayoutsService getFormLayoutService() { return _formLayoutService ?? (_formLayoutService = ResolveComponent<IFormLayoutsService>()); }
private void inizializza() { _container = new WindsorContainer(new XmlInterpreter()); _modelliContabiliService = (IModelloContabileService)_container[typeof(IModelloContabileService)]; _formLayoutService = (IFormLayoutsService)_container[typeof(IFormLayoutsService)]; base.persistWindowComponent1.Enable = false; // Set the ExplorerBar's NavigationPaneExpansionMode property to 'OnButtonClickOrSizeChanged', // so the navigation pane can be expanded/collapsed by the end user both when the exapansion // button is clicked and when the control's width crosses the threshold defined by the // NavigationPaneExpansionThreshold property this.ultraExplorerBar1.NavigationPaneExpansionMode = NavigationPaneExpansionMode.OnButtonClickOrSizeChanged; // Set the ExplorerBar's NavigationPaneExpansionThreshold property to // the same value as the ImageSizeLarge.Width property; this will cause // the navigation pane's expanded state to change when the width crosses // this threshold. this.ultraExplorerBar1.NavigationPaneExpansionThreshold = this.ultraExplorerBar1.ImageSizeLarge.Width; // Set the NavigationPaneCollapsedGroupAreaText property for each group, // so that the group's name appears in the collapsed group area when // the navigation pane is collapsed, instead of "Navigation Pane". for (int i = 0; i < this.ultraExplorerBar1.Groups.Count; i++) { UltraExplorerBarGroup group = this.ultraExplorerBar1.Groups[i]; group.Settings.NavigationPaneCollapsedGroupAreaText = group.Text; } }
private void inizializza() { try { persistWindowComponent1.UserName = Login.Instance.CurrentLogin().LoginName; _formLayoutService = ResolveComponent<IFormLayoutsService>(); } catch (Exception ex) { _log.WarnFormat("Errore durante l'esecuzione della funzione - {0} - azienda:{1}", ex, Utility.GetMethodDescription(), Login.Instance.CurrentLogin().Azienda); } }
private IFormLayoutsService getFormLayoutService() { return _formLayoutService ?? (_formLayoutService = Library.IoC.IoC.Resolve<IFormLayoutsService>()); }