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; }
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; }