lu
2025-02-26 3d429071ceeda5ce75ca660c13459c13f3d92337
DevApp/Gs.DevApp/DevFrm/XtraForm1.cs
@@ -1,4 +1,6 @@
using DevExpress.XtraEditors;
using DevExpress.XtraRichEdit.Model;
using Gs.DevApp.ToolBox;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -13,11 +15,21 @@
{
    public partial class XtraForm1 : DevExpress.XtraEditors.XtraForm
    {
        private Gs.DevApp.ToolBox.DragResizeHelp _drapHelp;
        public XtraForm1()
        {
            InitializeComponent();
            Gs.DevApp.ToolBox.DragResizeHelp.RegisterControl(this, panLayHead, label1);
            _drapHelp = new DragResizeHelp(this, splitContainerControl1.Panel1);
            this.xtraTabControl1.CustomHeaderButtonClick += XtraTabControl1_CustomHeaderButtonClick;
        }
        private void XtraTabControl1_CustomHeaderButtonClick(object sender, DevExpress.XtraTab.ViewInfo.CustomHeaderButtonEventArgs e)
        {
            _drapHelp.Show();
        }
    }
}