private void Button_Click(object sender, RoutedEventArgs e) { PluginSettings.Instance.AccountName = textboxAccountName.Text; PluginSettings.Instance.Password = Encryption.ToSecureString(passwordbox.Password); PluginSettings.Save(); }
public void OnUnload() { PluginSettings.Save(); }