duheng
2025-03-18 97f59d8ee14145e92073fa168bccfe66a1e4806b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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.ExportXLS();
        }
 
        private void barBtnExport_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            //_boxFormEnergyAnalysis.sav();
        }
    }
}