tangxu
2024-11-07 4546b652e6de456dcf040bf751047f7c06bc5675
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
30
31
32
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.IO;
using System.Text;
using System.Linq;
 
namespace DPumpHydr.WinFrmUI.Volute
{
    public partial class MainViewPage
    {
        OccDesignCtrlDockPanel _occDesign3dCtrl;
        OccDesignCtrlDockPanel _occDesign2dCtrl;
        //private bool _isIsFirstOcc = true;
        private void RefreshSectShape18(ViewModel.SectionBundleInfo bundle)
        {
            _occDesign3dCtrl.RefreshAllSectShape18(bundle);
 
            _occDesign2dCtrl.RefreshAllSectShape18(bundle);
 
            //if (_isIsFirstOcc == false)
            //{
            //    GC.Collect();
            //    GC.WaitForPendingFinalizers();
            //}
 
            //_isIsFirstOcc = false;
        }
 
 
    }
}