コード例 #1
0
        private void tabBar_PaneCreated(object sender, Syncfusion.Windows.Forms.SplitterPaneEventArgs e)
        {
            GridControl           grid   = e.Control as GridControl;
            GridMarkHeadersHelper helper = new GridMarkHeadersHelper(grid);

            helperList.Add(grid, helper);
        }
コード例 #2
0
        private void tabBar_PaneClosing(object sender, Syncfusion.Windows.Forms.SplitterPaneEventArgs e)
        {
            GridControl           grid   = e.Control as GridControl;
            GridMarkHeadersHelper helper = this.helperList[grid] as GridMarkHeadersHelper;

            if (helper != null)
            {
                this.helperList.Remove(grid);
                helper.Dispose();
                helper = null;
            }
        }