| | |
| | | InitializeComponent(); |
| | | this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; |
| | | this.layoutControl1.SetupLayoutControl(); |
| | | |
| | | this.xhsProjectSimulationCalcuPrefixCtrl1.CancelEvent += XhsProjectSimulationCalcuPrefixCtrl1_CancelEvent; |
| | | this.xhsProjectSimulationCalcuPrefixCtrl1.OkEvent += XhsProjectSimulationCalcuPrefixCtrl1_OkEvent; |
| | | } |
| | | |
| | | private void XhsProjectSimulationCalcuPrefixCtrl1_OkEvent() |
| | | { |
| | | this.DialogResult = DialogResult.OK; |
| | | this.Close(); |
| | | } |
| | | |
| | | |
| | | private void XhsProjectSimulationCalcuPrefixCtrl1_CancelEvent() |
| | | { |
| | | this.DialogResult = DialogResult.Cancel; |
| | | this.Close(); |
| | | } |
| | | } |
| | | } |