public bool HandleKeyDownEvent(object sender, KeyEventArgs e)
        {
            switch (e.KeyCode)
            {
//                case Keys.D2:
//                    if (e.Alt)
//                    {
//                        GraphSummary.Hide();
//                        return true;
//                    }
//                    break;
            case Keys.F8:
                if (!e.Alt && !(e.Shift && e.Control))
                {
                    if (e.Shift)
                    {
                        GraphType = GraphTypeRT.regression;
                    }
                    else if (e.Control)
                    {
                        GraphType = GraphTypeRT.peptide;
                    }
                    else
                    {
                        GraphType = GraphTypeRT.replicate;
                    }
                    GraphSummary.UpdateUI();
                    return(true);
                }
                break;
            }
            return(false);
        }
Beispiel #2
0
 public void OnRatioIndexChanged()
 {
     if (GraphSummary.GraphPanes.OfType <AreaReplicateGraphPane>().Any() /* || !Settings.Default.AreaAverageReplicates */)
     {
         GraphSummary.UpdateUI();
     }
 }
Beispiel #3
0
 public void OnActiveLibraryChanged()
 {
     if (GraphSummary.GraphPanes.OfType <AreaReplicateGraphPane>().Any())
     {
         GraphSummary.UpdateUI();
     }
 }
Beispiel #4
0
 public void OnNormalizeOptionChanged()
 {
     if (GraphSummary.GraphPanes.OfType <MassErrorReplicateGraphPane>().Any() /* || !Settings.Default.AreaAverageReplicates */)
     {
         GraphSummary.UpdateUI();
     }
 }
Beispiel #5
0
        public bool HandleKeyDownEvent(object sender, KeyEventArgs e)
        {
            switch (e.KeyCode)
            {
//                case Keys.D3:
//                    if (e.Alt)
//                        GraphSummary.Hide();
//                    break;
            case Keys.F7:
                if (!e.Alt && !(e.Shift && e.Control))
                {
                    if (e.Control)
                    {
                        Settings.Default.AreaGraphType = GraphTypeArea.peptide.ToString();
                    }
                    else
                    {
                        Settings.Default.AreaGraphType = GraphTypeArea.replicate.ToString();
                    }
                    GraphSummary.UpdateUI();
                }
                break;
            }
            return(false);
        }
Beispiel #6
0
 public void OnResultsIndexChanged()
 {
     if (GraphSummary.GraphPanes.OfType <AreaReplicateGraphPane>().Any() /* || !Settings.Default.AreaAverageReplicates */ ||
         RTLinearRegressionGraphPane.ShowReplicate == ReplicateDisplay.single)
     {
         GraphSummary.UpdateUI();
     }
 }
 public void OnResultsIndexChanged()
 {
     if (GraphSummary.GraphPanes.FirstOrDefault() is RTReplicateGraphPane ||
         RTLinearRegressionGraphPane.ShowReplicate == ReplicateDisplay.single)
     {
         GraphSummary.UpdateUI();
     }
 }
Beispiel #8
0
        public void OnResultsIndexChanged()
        {
            var fod = GraphSummary.GraphPanes.FirstOrDefault() as IUpdateGraphPaneController;

            if (fod != null && fod.UpdateUIOnIndexChanged())
            {
                GraphSummary.UpdateUI();
            }
        }
Beispiel #9
0
        public void OnActiveLibraryChanged()
        {
            var fod = GraphSummary.GraphPanes.FirstOrDefault() as IUpdateGraphPaneController;

            if (fod != null && fod.UpdateUIOnLibraryChanged())
            {
                GraphSummary.UpdateUI();
            }
        }
        public void SetSelectedFile(string file)
        {
            var group = _replicateGroups?.FirstOrDefault(g => (g.FileInfo != null && g.FileInfo.FilePath.GetFileName() == file) || (g.FileInfo == null && file == null));

            if (group != null)
            {
                SelectedGroup = group;
                GraphSummary.UpdateUI();
            }
        }
Beispiel #11
0
 private void DataCallback(AreaCVGraphData data)
 {
     GraphSummary.GraphControl.BeginInvoke((Action)(() => { GraphSummary.UpdateUI(); }));
 }