//プラグインリスト表示のメニューとコマンド private static CommandResult CmdPluginList(ICommandTarget target) { IPoderosaMainWindow window = CommandTargetUtil.AsWindow(target); if (window == null) { return(CommandResult.Ignored); } PluginList dlg = new PluginList(); dlg.ShowDialog(window.AsForm()); return(CommandResult.Succeeded); }