/// <summary> /// Creates an instance of the class /// </summary> /// <param name="owner">owner instance</param> protected internal DialogUtils(CommonUtils owner) { if (null == owner) { throw new ArgumentNullException("owner"); } CurrentLanguage = _currentDefaultLanguage; _owner = owner; _openNonModalDialogs = new Dictionary <Form, NonModalDialogValue>(); SuppressOnAutomation = true; SuppressOnHide = true; Layout = new DialogLayoutSettings(); Localization = new DialogLocalizationSettings(ToolsDialog.CreateDialogSchema()); }
/// <summary> /// Creates an instance of the class /// </summary> /// <param name="owner">owner instance</param> protected internal DialogUtils(CommonUtils owner) { if (null == owner) throw new ArgumentNullException("owner"); CurrentLanguage = _currentDefaultLanguage; _owner = owner; _openNonModalDialogs = new Dictionary<Form, NonModalDialogValue>(); SuppressOnAutomation = true; SuppressOnHide = true; Layout = new DialogLayoutSettings(); Localization = new DialogLocalizationSettings(ToolsDialog.CreateDialogSchema()); }