private void barBtnItemResultView_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (m_ucSearchAnalyseResults == null) { m_ucSearchAnalyseResults = new ucSearchAnalyseResults(); m_ucSearchAnalyseResults.Dock = DockStyle.Fill; this.Controls.Add(m_ucSearchAnalyseResults); } m_ucSearchAnalyseResults.BringToFront(); }
private void OnViewResults(AnalyseTask task) { if (m_ucSearchAnalyseResults == null) { m_ucSearchAnalyseResults = new ucSearchAnalyseResults(); m_ucSearchAnalyseResults.Dock = DockStyle.Fill; this.Controls.Add(m_ucSearchAnalyseResults); } m_ucSearchAnalyseResults.BringToFront(); }
private void MainForm_Load(object sender, EventArgs e) { if (!DesignMode) { this.Hide(); ucTaskMonitor1.Init(); m_ucSearchAnalyseResults = new ucSearchAnalyseResults(); m_ucSearchAnalyseResults.Dock = DockStyle.Fill; this.Controls.Add(m_ucSearchAnalyseResults); this.WindowState = FormWindowState.Maximized; this.Show(); } }