Ejemplo n.º 1
0
 /// <summary>
 /// Resets all properties to their default values.
 /// </summary>
 public virtual void Reset()
 {
     if (DownlevelDialog != null)
     {
         DownlevelDialog.Reset();
     }
     else
     {
         _fileNames      = null;
         _filter         = null;
         _filterIndex    = 1;
         _addExtension   = true;
         _defaultExt     = null;
         _options        = 0;
         _title          = null;
         CheckPathExists = true;
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Resets all properties to their default values.
 /// </summary>
 public override void Reset()
 {
     if (DownlevelDialog != null)
     {
         DownlevelDialog.Reset();
     }
     else
     {
         _fileNames    = null;
         _filter       = null;
         _filterIndex  = 1;
         _addExtension = true;
         _defaultExt   = null;
         _options      = 0;
         _showHelp     = false;
         _title        = null;
         _supportMultiDottedExtensions = false;
         CheckPathExists = true;
     }
 }