public static DynamoSetup Create(string[] args = null) { if (args == null) { args = new string[] { "" }; } var cmdLineArgs = StartupUtils.CommandLineArguments.Parse(args); var locale = StartupUtils.SetLocale(cmdLineArgs); _putenv(locale); _commandFilePath = cmdLineArgs.CommandFilePath; ASMPath = cmdLineArgs.ASMPath; var setup = new DynamoSetup(); return(setup); }
private void SwAddin_CommandClick(Commands spec) { _dynamoSetup = View.DynamoSetup.Create(); _dynamoSetup.RunApp(this.Application.WindowHandle); }