Ejemplo n.º 1
0
        public UserOptionsForm(ProcessModel processModel)
        {
            _processModel = processModel;

            InitializeComponent();

            OutputTypePicker.DataSource = Enum.GetValues(typeof (OutputType));
            OutputPath.Text = DefaultOutputPath;
        }
        private static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //TODO use unity to resolve this
            var processModel = new ProcessModel();

            Application.Run(new UserOptionsForm(processModel));
        }