Пример #1
0
 private void IQWaveformAccordionControlElement_Click(object sender, EventArgs e)
 {
     m_UI_IQWaveform = new UI_IQWaveform();
     this.IQWaveformUserControl.Controls.Clear();
     this.IQWaveformUserControl.Controls.Add(m_UI_IQWaveform);
     this.m_UI_IQWaveform.Dock = DockStyle.Fill;
 }
Пример #2
0
        private void IQWaveformBtn_ItemClick(object sender, ItemClickEventArgs e)
        {
            XtraUserControl userControl = IQWaveformUserControl;

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

            m_UI_IQWaveform = new UI_IQWaveform();
            this.IQWaveformUserControl.Controls.Clear();
            this.IQWaveformUserControl.Controls.Add(m_UI_IQWaveform);
            this.m_UI_IQWaveform.Dock = DockStyle.Fill;
        }