yangyin
2024-10-22 4568aa9c4b13991b2d32b1560afdb5cacbc0e8f5
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
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
 
namespace DPumpHydr.WinFrmUI.Volute 
{
    public partial class ctrlSetOutflowDim : UserControl
    {
        public ctrlSetOutflowDim()
        {
            InitializeComponent();
            BuildIcon();
        }
 
        public bool Verify(out string error)
        {
            error = "";
            if (!RBtn中心出口.Checked && !RBtn侧面出口曲线.Checked && !RBtn侧面出口直线.Checked)
            {
                error = "请选择出口类型!";
                return false;
 
            }
                return true;
        }
 
        private void BuildIcon()
        {
            metroTile出口图片.BackgroundImage = GlobalResource.BuildImage("chukou.png",848 ,508 );
        }
    }
}