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 DPumpHydr.WinFrmUI.RLT.Docking.Crown; namespace DPumpHydr.WinFrmUI.Volute { public partial class OccDesignCtrlDockPanel : CrownDocument { OccDesignCtrl _occCtrl; public OccDesignCtrlDockPanel() { this.Icon = DPumpHydr.WinFrmUI.Volute.Properties.Resources.round_rotate_16; this.IsShowCloseIcon = false ; _occCtrl = new OccDesignCtrl(); _occCtrl.Name = "OccDesignCtrl"; _occCtrl.Dock = DockStyle.Fill; this.Controls.Add(_occCtrl); } public void SetViewDirect(DPumpHydr.Model.eViewDirect vd) { _occCtrl.SetViewDirect(vd); } private void InitializeComponent() { } public void Initial(bool is3D) { _occCtrl.Initial(is3D); } public void RefreshAllSectShape18(ViewModel.SectionBundleInfo bundle) { _occCtrl.RefreshAllSectShape18(bundle); } public void RefreshSingleSectShape18(ViewModel.SectionShapePara theSectionParam) { _occCtrl.RefreshSingleSectShape18(theSectionParam); } public void CreateOutflowBody( ) { _occCtrl.CreateOutflowBody( ); } } }