Esempio n. 1
0
 public override bool Init()
 {
     SettingsDialog dialog = new SettingsDialog();
     if (dialog.ShowDialog() == DialogResult.OK)
     {
         SimpleTextReplacing = dialog.SimpleTextReplacing;
         ChangeExtension = dialog.ChangeExtension;
         AddPrefixAndSuffix = dialog.AddPrefixAndSuffix;
         ReplaceFrom = dialog.ReplaceFrom;
         ReplaceTo = dialog.ReplaceTo;
         Extension = dialog.Extension;
         AddPrefix = dialog.AddPrefix;
         AddSuffix = dialog.AddSuffix;
         PrefixSuffixString = dialog.PrefixSuffixString;
         return true;
     }
     return false;
 }