示例#1
0
        private static void Main()
        {
            var profileRepository = new ProfileXmlRepository();
            var processModel = new ProcessModel(profileRepository);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Application.Run(new AssemblyUpdaterForm(processModel));
        }
示例#2
0
 public ProcessModel(ProfileXmlRepository profileRepository)
 {
     _profileRepository = profileRepository;
     LoadProfiles();
 }