예제 #1
0
        private static CommandResult CmdShellSchemeEditor(ICommandTarget target)
        {
            IPoderosaMainWindow  window  = CommandTargetUtil.AsWindow(target);
            ITerminalControlHost session = TerminalCommandTarget.AsTerminal(target);
            ShellSchemeEditor    dlg     = new ShellSchemeEditor(session == null ? null : session.TerminalSettings.ShellScheme);

            dlg.ShowDialog(window.AsForm());
            return(CommandResult.Succeeded);
        }
예제 #2
0
 private static CommandResult CmdShellSchemeEditor(ICommandTarget target) {
     IPoderosaMainWindow window = CommandTargetUtil.AsWindow(target);
     ITerminalControlHost session = TerminalCommandTarget.AsTerminal(target);
     ShellSchemeEditor dlg = new ShellSchemeEditor(session == null ? null : session.TerminalSettings.ShellScheme);
     dlg.ShowDialog(window.AsForm());
     return CommandResult.Succeeded;
 }