示例#1
0
 public MangMayTinh AddMayTinh(string FirstIP, string LastIP, string SubnetMask)
 {
     MayTinh.MayTinh mt;
     list                 = new ArrayList();
     list                 = this.InitIpRange(FirstIP, LastIP, SubnetMask);
     mangMayTinh          = new MangMayTinh(list);
     mangMayTinh.Location = new Point(20, 20);
     return(mangMayTinh);
 }
示例#2
0
        void NhapDanhSachIP()
        {
            FrmSetIP frmSetIP = new FrmSetIP();

            frmSetIP.ShowDialog();
            // mangMayTinh = serverThread.AddMayTinh("192.168.255.1", "192.168.255.60", "255.255.255.0");

            // this.MainGroupBox.Controls.Add(mangMayTinh);

            mangMayTinh = serverThread.AddMayTinh(StaticInfo.FirstIP, StaticInfo.LastIP, StaticInfo.SubnetMask);
            this.MainGroupBox.Controls.Add(mangMayTinh);
        }