ningshuxia
2025-03-24 f7d479db638f3d9e3aeb05ec82dc2818f14bf903
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
using DevExpress.Utils.Extensions;
using IBox.WinFrmUI;
 
namespace PBS.WinFrmUI.Box
{
    public partial class ProtocolMgr : Yw.WinFrmUI.DocumentPage
    {
        public ProtocolMgr()
        {
            InitializeComponent();
            this.Load += ProtocolMgr_Load;
        }
 
        private IBoxFormProtocol _boxFormProtocol;
 
        private void ProtocolMgr_Load(object sender, EventArgs e)
        {
            _boxFormProtocol = new IBoxFormProtocol();
            _boxFormProtocol.Dock = DockStyle.Fill;
            this.sidePanel1.AddControl(_boxFormProtocol);
            _boxFormProtocol.HideButton();
        }
 
        private void barBtnSave_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            _boxFormProtocol.Save();
        }
    }
}