Ejemplo n.º 1
0
        public frmTICViewer()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            mMediator = new clsMediator(this);
            Init();

            this.frmTICViewer_Resize(this, null);
        }
Ejemplo n.º 2
0
        public frmSpectra()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            mMediator = new clsMediator(this);

            this.mctl_tic.AddPostProcessor(new ChartPostRenderingProcessor(mctl_tic_PostRender), PostProcessPriority.Highest);
            Init();
        }
Ejemplo n.º 3
0
        public frmStatus(clsMediator mediator)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            HookMediator(mediator);
        }
Ejemplo n.º 4
0
        private void Init()
        {
            mMediator = new clsMediator(this);

            mctl_spectrum      = new ctlMassSpectrum();
            mctl_spectrum.Dock = DockStyle.Fill;
            mexpandPanelBottom.Controls.Add(mctl_spectrum);
            mctl_spectrum.Mediator          = mMediator;
            mctl_spectrum.mevntScanChanged += new Decon2LS.ctlMassSpectrum.ScanChangedEventHandler(mctl_spectrum_mevntScanChanged);

            // Set initial categorized info
            this.Category = TwoDPeakCategory;

            mobj_elution_profile_plt_params = new PNNL.Controls.clsPlotParams(new PNNL.Controls.BubbleShape(2, false), Color.Red, false, true, true);

            mctl_rawdata.DefaultZoomHandler.SingleClickNoZoomPerformed += new PNNL.Controls.SingleClickNoZoomHandler(DefaultZoomHandler_SingleClickNoZoomPerformed);
            mctl_rawdata.MZHorizontal     = true;
            mctl_rawdata.ViewPortChanged += new PNNL.Controls.ViewPortChangedHandler(mctl_rawdata_ViewPortChanged);
            //SetPlotStructures() ;
        }
Ejemplo n.º 5
0
 public clsMediator(System.Windows.Forms.Form main_form, clsMediator parent) : this(main_form)
 {
     this.Parent = parent;
 }
Ejemplo n.º 6
0
 private void HookMediator(clsMediator mediator)
 {
     mobj_mediator = mediator;
     mobj_mediator.mevnt_Progress += new Decon2LS.clsMediator.dlgMediatorProgressHandler(OnProgressMessage);
     mobj_mediator.mevnt_Status   += new Decon2LS.clsMediator.dlgMediatorStatusHandler(OnStatusMessage);
 }