Beispiel #1
0
        //Constructors---------------------------------------------------------------------------------------------------------//
        public FormMain(AppMainService appMainService)
        {
            this.appMainService = appMainService;
            this.FormClosePending = false;

            InitializeComponent();
            this.appMainService.ScanProgress += updateOnScanProgress;
            this.appMainService.ScanCancelled += updateOnScanCancelled;
        }
Beispiel #2
0
        //Constructors---------------------------------------------------------------------------------------------------------//
        public FormMain(AppMainService appMainService)
        {
            this.appMainService   = appMainService;
            this.FormClosePending = false;

            InitializeComponent();
            this.appMainService.ScanProgress  += updateOnScanProgress;
            this.appMainService.ScanCancelled += updateOnScanCancelled;
        }
Beispiel #3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var appSettings = new AppSettings();
            var appUtilities = new AppUtilities(appSettings);
            var fileConvertService = new GroutItToGwService(appSettings, appUtilities);
            var appMainService = new AppMainService(appSettings, appUtilities, fileConvertService);
            Application.Run(new FormMain(appMainService));
        }
Beispiel #4
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var appSettings        = new AppSettings();
            var appUtilities       = new AppUtilities(appSettings);
            var fileConvertService = new GroutItToGwService(appSettings, appUtilities);
            var appMainService     = new AppMainService(appSettings, appUtilities, fileConvertService);

            Application.Run(new FormMain(appMainService));
        }