public void Run(IDizApplication.Args args) { // kick us off with the home screen, this will return immediately ControllersManager.ShowNewStartForm(); // if we're automatically opening a previous project file, do it now. ProjectsManager.OpenProjectFile(args.FileToOpen); }
private static IDizApplication.Args ParseArgs(IReadOnlyList <string> args) { var parsedArgs = new IDizApplication.Args(); if (args.Count > 0) { parsedArgs.FileToOpen = args[0]; } return(parsedArgs); }
public DizApplicationContext(IDizApplication.Args args) { var app = Service.Container.GetInstance <IDizApplication>(); app.Run(args); }