using DevExpress.Charts.Native; using DevExpress.Utils.Extensions; using DevExpress.XtraEditors; using IBox.WinFrmUI; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Documents; using System.Windows.Forms; namespace PBS.WinFrmUI.Box { public partial class AnalysisMgr : Yw.WinFrmUI.DocumentPage { public AnalysisMgr() { InitializeComponent(); this.Load += MonitorMgr_Load; } private IBoxFormEnergyAnalysis _boxFormEnergyAnalysis; private void MonitorMgr_Load(object sender, EventArgs e) { _boxFormEnergyAnalysis = new IBoxFormEnergyAnalysis(); _boxFormEnergyAnalysis.Dock = DockStyle.Fill; this.sidePanel1.AddControl(_boxFormEnergyAnalysis); _boxFormEnergyAnalysis.HideButton(); } private void barBtnSearch_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { _boxFormEnergyAnalysis.Search(); } private void barBtnVerify_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { _boxFormEnergyAnalysis.Check(); } private void barBtnExport_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { _boxFormEnergyAnalysis.ExportXLS(); } } }