Exemplo n.º 1
0
        //Constructors---------------------------------------------------------------------------------------------------------//
        public FormMain(AppMainService appMainService)
        {
            this.appMainService = appMainService;
            this.FormClosePending = false;

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

            InitializeComponent();
            this.appMainService.ScanProgress  += updateOnScanProgress;
            this.appMainService.ScanCancelled += updateOnScanCancelled;
        }
Exemplo n.º 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));
        }
Exemplo n.º 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));
        }