Exemple #1
0
        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);

            if (FoldChangeBindingSource != null)
            {
                AllowDisplayTip = true;

                _bindingListSource                         = FoldChangeBindingSource.GetBindingListSource();
                _bindingListSource.ListChanged            += BindingListSourceOnListChanged;
                _bindingListSource.AllRowsChanged         += BindingListSourceAllRowsChanged;
                zedGraphControl.GraphPane.AxisChangeEvent += GraphPane_AxisChangeEvent;

                if (_skylineWindow == null)
                {
                    _skylineWindow = ((SkylineDataSchema)_bindingListSource.ViewInfo.DataSchema).SkylineWindow;
                    if (_skylineWindow != null)
                    {
                        _skylineWindow.SequenceTree.AfterSelect += SequenceTreeOnAfterSelect;
                    }
                }

                UpdateGraph(Settings.Default.FilterVolcanoPlotPoints);
            }
        }
Exemple #2
0
 protected override void OnShown(EventArgs e)
 {
     base.OnShown(e);
     if (null != FoldChangeBindingSource)
     {
         databoundGridControl.BindingListSource = FoldChangeBindingSource.GetBindingListSource();
         toolStripButtonChangeSettings.Visible  =
             !string.IsNullOrEmpty(FoldChangeBindingSource.GroupComparisonModel.GroupComparisonName);
         FoldChangeBindingSource.ViewContext.BoundDataGridView = DataboundGridControl.DataGridView;
     }
 }
Exemple #3
0
 protected override void OnShown(EventArgs e)
 {
     base.OnShown(e);
     if (null != FoldChangeBindingSource)
     {
         databoundGridControl.BindingListSource = FoldChangeBindingSource.GetBindingListSource();
         toolStripButtonChangeSettings.Visible  =
             !string.IsNullOrEmpty(FoldChangeBindingSource.GroupComparisonModel.GroupComparisonName);
         FoldChangeBindingSource.ViewContext.BoundDataGridView = DataboundGridControl.DataGridView;
         var skylineWindow = FoldChangeBindingSource.GroupComparisonModel.DocumentContainer as SkylineWindow;
         if (null != skylineWindow)
         {
             DataGridViewPasteHandler.Attach(skylineWindow, DataboundGridControl.DataGridView);
         }
     }
 }
Exemple #4
0
 protected override void OnShown(EventArgs e)
 {
     base.OnShown(e);
     if (null != FoldChangeBindingSource)
     {
         _bindingListSource              = FoldChangeBindingSource.GetBindingListSource();
         _bindingListSource.ListChanged += BindingListSourceOnListChanged;
         if (_skylineWindow == null)
         {
             _skylineWindow = ((SkylineDataSchema)_bindingListSource.ViewInfo.DataSchema).SkylineWindow;
             if (_skylineWindow != null)
             {
                 _skylineWindow.SequenceTree.AfterSelect += SequenceTreeOnAfterSelect;
             }
         }
         UpdateGraph();
     }
 }