Example #1
0
 public MainPage(EasyConsole.Program program)
     : base("Emmentaler", program,
            new Option("Manage Players", () => program.NavigateTo <PlayersPage>()),
            new Option("Schedule Matches", () => program.NavigateTo <NotImplementedPage>()),
            new Option("Quit", () => {}))
 {
 }
Example #2
0
 public MainPage(EasyConsole.Program menuprog) : base("Main Page", menuprog,
                                                      new Option("VPN Server Bridge Setup Check", () => menuprog.NavigateTo <Page1>()),
                                                      new Option("Bridge Capable Network Cards", () => AdminVPNsetup.Program._PrintBridgeCapableList()),
                                                      new Option("Input", () => menuprog.NavigateTo <InputPage>()))
 {
 }
Example #3
0
 public MainPage(EasyConsole.Program program) : base("Main", program,
                                                     new Option("Communicate with nodes", () => program.NavigateTo <CommWithNodePage>()),
                                                     new Option("Log configuration", () => program.NavigateTo <SetDefaultLogLevelPage>()),
                                                     new Option("Quit", () =>
 {
     if (Input.ReadString("Confirm exit ? (Y/N)") != "Y")
         program.NavigateHome();
 })
                                                     )
 {
 }
 public CommWithNodePage(EasyConsole.Program program) : base("Communicate with node", program,
                                                             new Option("Restart node", () => program.NavigateTo <SendRestartPage>()))
 {
 }