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 );
|
}
|
}
|
}
|