Ejemplo n.º 1
0
 /// <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());
 }
Ejemplo n.º 2
0
 /// <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());
 }