示例#1
0
 private void accordionControlElement1_Click(object sender, EventArgs e)
 {
     m_UI_WaterfallPlot = new UI_WaterfallPlot();
     this.WaterfallPlotUserControl.Controls.Clear();
     this.WaterfallPlotUserControl.Controls.Add(m_UI_WaterfallPlot);
     this.m_UI_WaterfallPlot.Dock = DockStyle.Fill;
 }
示例#2
0
        private void WaterFallBtn_ItemClick(object sender, ItemClickEventArgs e)
        {
            XtraUserControl userControl = WaterfallPlotUserControl;

            tabbedView.AddDocument(userControl);
            tabbedView.ActivateDocument(userControl);

            m_UI_WaterfallPlot = new UI_WaterfallPlot();
            this.WaterfallPlotUserControl.Controls.Clear();
            this.WaterfallPlotUserControl.Controls.Add(m_UI_WaterfallPlot);
            this.m_UI_WaterfallPlot.Dock = DockStyle.Fill;
        }