Advertisement

用C#开发IP地址字段输入

阅读量:

本研究旨在设计一款名为IPAddressTool的IP地址输入控件

1.设计思路:该IPAddressTool控件由四个文本框与三个标签组成,需在界面中完成合理布局,确保四个文本框与三个标签能够有序排列,形成规范的视觉效果。

2.控件外观样式

3.代码

复制代码
 using System;

    
 using System.Collections.Generic;
    
 using System.ComponentModel;
    
 using System.Drawing;
    
 using System.Data;
    
 using System.Ling;
    
 using System.Text;
    
 using System.Windows.Forms;
    
 namespaces IPv4TextBox
    
 {
    
   public partial class IPAddressTool:UserControl
    
    {
    
      bool textboxValid = true;

全部评论 (0)

还没有任何评论哟~