ECS/frm/UCLEDSet.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ECS.frm
{
public partial class UCLEDSet : UserControl
{
public UCLEDSet()
{
InitializeComponent();
}
private void tBip_Leave(object sender, EventArgs e)
{
TextBox tb = sender as TextBox;
Label lb = this.Controls.Find(string.Format("lb{0}", tb.Name.Substring(2)), false)[0] as Label;
if (!Other.ValidateUserInput(tb.Text.Trim(), 24))
{
MessageBox.Show(string.Format("请输入正确的{0}!", lb.Text.Replace(":", "")));
tb.Focus();
return;
}
}
private void tBint_Leave(object sender, EventArgs e)
{
TextBox tb = sender as TextBox;
Label lb = this.Controls.Find(string.Format("lb{0}", tb.Name.Substring(2)), false)[0] as Label;
if (!Other.ValidateUserInput(tb.Text.Trim(), 2))
{
MessageBox.Show(string.Format("请输入正确的{0}!", lb.Text.Replace(":", "")));
tb.Focus();
return;
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。