Esempio n. 1
0
 private void HandlePluginLaunch(object sender, EventArgs e)
 {
     brushSaveForm form = new brushSaveForm(preferences.filePath);
      form.ShowDialog();
 }
Esempio n. 2
0
 public void NWN2BrushSaver(object sender, KeyEventArgs args)
 {
     brushSaveForm form = new brushSaveForm(preferences.filePath);
     if (preferences.Load.CompareTo(args.KeyData) == 0) {
        form.loadFile(null, null);
         } else
         if (preferences.Save.CompareTo(args.KeyData) == 0)
         {
         form.saveFile(null, null);
         }
 }