| | |
| | | using DevExpress.XtraEditors; |
| | | 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.Forms; |
| | | using DevExpress.Utils.Extensions; |
| | | using IBox.WinFrmUI; |
| | | |
| | | namespace PBS.WinFrmUI.Box._01_ |
| | | namespace PBS.WinFrmUI.Box |
| | | { |
| | | public partial class ProtocolMgr : DevExpress.XtraEditors.XtraUserControl |
| | | 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(); |
| | | } |
| | | } |
| | | } |
| | | } |