Esempio n. 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //this is done as a delegate so the provider could updates if the settings are updated
            var model = new ChooseTextViewModel(new TestChoiceProvider(() => SendItSettings.Singleton.PathToAdaptationsFolder),
                                                new AdaptItCommandLineDriver());

            Application.Run(new Shell(new ChooseTextView(model)));
        }
Esempio n. 2
0
 public ChooseTextView(ChooseTextViewModel model)
 {
     _model = model;
     InitializeComponent();
 }