コード例 #1
0
 public MainController(RealtimeDisplay.MainForm mainForm,
     ConfigurationManager configManager,
     Func<FaceSearchFacade> faceSearchFacadeFactory)
 {
     this._mainForm = mainForm;
     _mainForm = mainForm;
     this._configManager = configManager;
     _configManager = configManager;
     _faceSearchFacadeFactory = faceSearchFacadeFactory;
 }
コード例 #2
0
 public MainController(RealtimeDisplay.MainForm mainForm,
                       ConfigurationManager configManager,
                       Func <FaceSearchFacade> faceSearchFacadeFactory)
 {
     this._mainForm           = mainForm;
     _mainForm                = mainForm;
     this._configManager      = configManager;
     _configManager           = configManager;
     _faceSearchFacadeFactory = faceSearchFacadeFactory;
 }
コード例 #3
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;
        }
コード例 #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;
        }