摘要: private void dataGridView1_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { if (e.RowIndex >= 0 && e.ColumnIndex >= 0 && e.Value.ToS 阅读全文
posted @ 2020-07-20 18:58 Elcser 阅读(455) 评论(0) 推荐(0) 编辑
摘要: public static bool IsIP(string IP) { var iCount = IP.Split('.').Count(); if (iCount != 4) { return false; } IPAddress ip; if (IPAddress.TryParse(IP, o 阅读全文
posted @ 2020-07-20 18:17 Elcser 阅读(634) 评论(0) 推荐(0) 编辑