예제 #1
0
        public override void Initialise(SpectraViewerStateManager manager, PictureBox view, SpectroscopyController spectroscopyController)
        {
            base.Initialise(manager, view, spectroscopyController);

            view.Cursor = Cursors.Arrow;

            if (!m_MasterSpectra.IsCalibrated())
            {
                m_MasterSpectra.Calibration = m_SpectroscopyController.GetSpectraCalibration();
                m_SpectroscopyController.GetSpectraCalibrator().PopulateWaveLengths(m_MasterSpectra);
            }


            m_StateManager.Redraw();
        }
        public override void Initialise(SpectraViewerStateManager manager, PictureBox view, SpectroscopyController spectroscopyController)
        {
            base.Initialise(manager, view, spectroscopyController);

            view.Cursor = Cursors.Arrow;
        }
예제 #3
0
 public virtual void Initialise(SpectraViewerStateManager manager, PictureBox view, SpectroscopyController spectroscopyController)
 {
     m_StateManager           = manager;
     m_SpectroscopyController = spectroscopyController;
     m_View = view;
 }