public frmMain() { InitializeComponent(); Nic.LoadNIC(); //Load all Nic's SetupForm(rbNames.Enabled); //Fill in everything needed timer1.Interval = 500; //Intervall CheckHosts is called timer1.Tick += new EventHandler(timer1_Tick); }
public frmMain() { InitializeComponent(); this.Icon = Properties.Resources.Icons_Land_Vista_Hardware_Devices_Ethernet_Cable; btnStart.Image = Properties.Resources.Sekkyumu_Developpers_Play.ToBitmap(); btnStop.Image = Properties.Resources.Sekkyumu_Developpers_Stop.ToBitmap(); pBHelp.Image = Properties.Resources.Fatcow_Farm_Fresh_Information.ToBitmap(); Nic.LoadNIC(); //Load all Nic's SetupForm(rbNames.Enabled); //Fill in everything needed timer1.Interval = 500; //Intervall CheckHosts is called timer1.Tick += new EventHandler(timer1_Tick); }