Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 private void SwAddin_CommandClick(Commands spec)
 {
     _dynamoSetup = View.DynamoSetup.Create();
     _dynamoSetup.RunApp(this.Application.WindowHandle);
 }