public OovgConfigurationForm(OovgConfiguration oovgConfiguration) { _oovgConfiguration = oovgConfiguration; InitializeComponent(); this.UploadKey.Text = _oovgConfiguration.UploadKey; }
public bool Initialize(IGreenshotHost host, PluginAttribute pluginAttribute) { _config = IniConfig.GetIniSection<OovgConfiguration>(); _ctxMenu = new ToolStripMenuItem(); _ctxMenu.Text = "Configure oo.vg"; _ctxMenu.Tag = host; _ctxMenu.Click += _ctxMenu_Click; PluginUtils.AddToContextMenu(host, _ctxMenu); return true; }