Beispiel #1
0
 /// <summary>
 /// Loads the plugin settings
 /// </summary>
 public void LoadSettings()
 {
     this.settingObject = new Settings();
     if (!File.Exists(this.settingFilename)) this.SaveSettings();
     else
     {
         Object obj = ObjectSerializer.Deserialize(this.settingFilename, this.settingObject);
         this.settingObject = (Settings)obj;
     }
 }
Beispiel #2
0
 public PluginUI(PluginMain pluginMain, Settings setting)
 {
     this.pluginMain = pluginMain;
     settingObject = setting;
     this.InitializeComponent();
 }