| | |
| | | public ctrlSetOutflowType() |
| | | { |
| | | InitializeComponent(); |
| | | BuildIcon(); |
| | | |
| | | metroTileåºå£å¾ç.BackgroundImage = GlobalResource.BuildImage("Side-exit-straight-line.png", 848, 508); |
| | | RBtnä¸å¿åºå£.Checked = true; |
| | | } |
| | | |
| | | public bool Verify(out string error) |
| | |
| | | { |
| | | if (type == eOutflowStyle.ä¸å¿åºå£_åç´æ³å
°é¢æµåº ) |
| | | { |
| | | metroTileåºå£å¾ç.BackgroundImage = GlobalResource.BuildImage("Side-exit-straight-line.png", 848, 508); |
| | | RBtnä¸å¿åºå£.Checked = true; |
| | | } |
| | | else if (type == eOutflowStyle.ä¾§é¢åºå£_æ²çº¿è¿æ¥ ) |
| | | { |
| | | metroTileåºå£å¾ç.BackgroundImage = GlobalResource.BuildImage("Side-exit-curve.png", 848, 508); |
| | | RBtnä¾§é¢åºå£æ²çº¿.Checked = true; |
| | | } |
| | | else |
| | | { |
| | | metroTileåºå£å¾ç.BackgroundImage = GlobalResource.BuildImage("Central-exit.png", 848, 508); |
| | | RBtnä¾§é¢åºå£ç´çº¿.Checked = true; |
| | | } |
| | | } |
| | | private void BuildIcon() |
| | | { |
| | | metroTileåºå£å¾ç.BackgroundImage = GlobalResource.BuildImage("Side-exit-curve.png", 848, 508); |
| | | } |
| | | |
| | | |
| | | private void RBtnä¸å¿åºå£_CheckedChanged(object sender) |
| | | { |