Exemplo n.º 1
0
 public MainController(RealtimeDisplay.MainForm mainForm,
     ConfigurationManager configManager,
     Func<FaceSearchFacade> faceSearchFacadeFactory)
 {
     this._mainForm = mainForm;
     _mainForm = mainForm;
     this._configManager = configManager;
     _configManager = configManager;
     _faceSearchFacadeFactory = faceSearchFacadeFactory;
 }
 public MainController(RealtimeDisplay.MainForm mainForm,
                       ConfigurationManager configManager,
                       Func <FaceSearchFacade> faceSearchFacadeFactory)
 {
     this._mainForm           = mainForm;
     _mainForm                = mainForm;
     this._configManager      = configManager;
     _configManager           = configManager;
     _faceSearchFacadeFactory = faceSearchFacadeFactory;
 }
        protected override void OnCreateMainForm()
        {
            var loader =
                     new Damany.RemoteImaging.Common.BootLoader();

            try
            {
                loader.Load(@"d:\ImageOutput");
            }
            catch (System.Exception ex)
            {
                MessageBox.Show(ex.Message);

            }

            var mainForm = new RealtimeDisplay.MainForm();
            mainForm.UsersManager = Program.usersManager;
            mainForm.loader = loader;

            MainForm = mainForm;
        }
Exemplo n.º 4
0
        protected override void OnCreateMainForm()
        {
            var loader =
                new Damany.RemoteImaging.Common.BootLoader();

            try
            {
                loader.Load(@"d:\ImageOutput");
            }
            catch (System.Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

            var mainForm = new RealtimeDisplay.MainForm();

            mainForm.UsersManager = Program.usersManager;
            mainForm.loader       = loader;

            MainForm = mainForm;
        }