public frmMain() { InitializeComponent(); TangraConfig.Load(ApplicationSettingsSerializer.Instance); m_VideoFileView = new VideoFileView(this); m_ImageToolView = new ImageToolView(this); m_ZoomedImageView = new ZoomedImageView(zoomedImage, this); m_VideoController = new VideoController(this, m_VideoFileView, m_ZoomedImageView, m_ImageToolView, pnlControlerPanel); m_AddinsController = new AddinsController(this, m_VideoController); m_VideoController.OcrExtensionManager = new OcrExtensionManager(m_AddinsController); m_LongOperationsManager = new LongOperationsManager(this, m_VideoController); m_LightCurveController = new LightCurveController(this, m_VideoController, m_AddinsController); m_MakeDarkFlatController = new DarkFlatFrameController(this, m_VideoController); m_ConvertVideoToFitsController = new ConvertVideoToFitsController(this, m_VideoController); m_ConvertVideoToAavController = new ConvertVideoToAavController(this, m_VideoController); m_AstrometryController = new AstrometryController(m_VideoController, m_LongOperationsManager); m_SpectroscopyController = new SpectroscopyController(this, m_VideoController); m_AutoUpdatesController = new AutoUpdatesController(this, m_VideoController); NotificationManager.Instance.SetVideoController(m_VideoController); m_VideoController.SetLightCurveController(m_LightCurveController); m_VideoController.SetAddinsController(m_AddinsController); BuildRecentFilesMenu(); m_AddinsController.LoadAddins(); #if !WIN32 miVideoModelling.Visible = false; #endif m_AutoUpdatesController.CheckForUpdates(false); }
public ConvertVideoToFitsOperation(ConvertVideoToFitsController convertVideoToFitsController, bool debugMode) { m_ConvertVideoToFitsController = convertVideoToFitsController; m_DebugMode = debugMode; }