| | |
| | | namespace PBS.WinFrmUI.Box |
| | | 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(); |
| | | } |
| | | } |
| | | } |