Beispiel #1
0
 public IP_SubNetButton(string ip, int sbnm)
 {
     this.button     = new System.Windows.Forms.Button();
     this.subNet     = subNet;
     button.Text     = subNet.GetIP() + "/" + subNet.GetSubnetMask();
     button.AutoSize = true;
 }
Beispiel #2
0
 public IP_SubNetButton(SubNet subNet, MainWindow mw)
 {
     mainVars        = mw;
     this.button     = new System.Windows.Forms.Button();
     this.subNet     = subNet;
     button.Text     = subNet.GetIP() + "/" + subNet.GetSubnetMask();
     button.AutoSize = true;
 }
Beispiel #3
0
 public void SetSubNet(Subnet.SubNet s)
 {
     subNet = s;
 }