随笔分类 -  .NET

摘要:public class DGVCopy { public DataGridView DataGridViewCopy { get; set; } public int X { get; set; } public int Y { get; set; } public void CopyData() 阅读全文
posted @ 2017-06-06 12:49 Magic_Cc 阅读(917) 评论(0) 推荐(0)
摘要:public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button2_MouseEnter(object sender, EventArgs e) { button2_Mo 阅读全文
posted @ 2016-09-05 16:48 Magic_Cc 阅读(218) 评论(0) 推荐(0)
摘要:if ((!Regex.IsMatch(textBox1.Text, @"^(^\d{15}$|^\d{18}$|^\d{17}(\d|X|x))$", RegexOptions.IgnoreCase))) { MessageBox.Show("请输入正确的身份证号码!", "提示", Messag 阅读全文
posted @ 2016-06-15 16:29 Magic_Cc 阅读(263) 评论(0) 推荐(0)
摘要:private void button2_Click(object sender, EventArgs e) { CheckRadioButton(); } List<RadioButton> rList = new List<RadioButton>(); private void CheckRa 阅读全文
posted @ 2016-04-02 11:14 Magic_Cc 阅读(528) 评论(0) 推荐(0)