public override PluginReturns Run(PluginArgument arg) { try { if (!SelectRootDirectory(arg.Host, false)) { if (SimpleMessage.Confirm("Failed to locate de4dot! Do you want to download now?") == System.Windows.Forms.DialogResult.Yes) { SimpleProcess.Start("https://bitbucket.org/0xd4d/de4dot/downloads"); } return(PluginReturns.None); } var frm = new frmDe4dot(arg.Host, arg.Rows, arg.SourceDir); frm.ShowDialog(); return(PluginReturns.Refresh); } catch { throw; } finally { } }
public override PluginReturns Run(PluginArgument arg) { try { if (!SelectRootDirectory(arg.Host, false)) { if (SimpleMessage.Confirm("Failed to locate de4dot! Do you want to download now?") == System.Windows.Forms.DialogResult.Yes) { SimpleProcess.Start("https://bitbucket.org/0xd4d/de4dot/downloads"); } return PluginReturns.None; } var frm = new frmDe4dot(arg.Host, arg.Rows, arg.SourceDir); frm.ShowDialog(); return PluginReturns.Refresh; } catch { throw; } finally { } }