private void Message_Load(object sender, EventArgs e) { List <Device> netdevices = MonitoringSystem.GetNetworkDevice(); local = MonitoringSystem.GetUserNetworkParametres(); comboBox1.DataSource = netdevices; }
private void UserNetworkParametres_Load(object sender, EventArgs e) { Device local = monitoringsystem.GetUserNetworkParametres(); textBox1.Text = local.Type; textBox2.Text = local.Name; textBox3.Text = local.IP; }