private void buttonReload_Click(object sender, EventArgs e) { _nodes = _js.GetNodesAndJobs(); this.listBoxNodes.Items.Clear(); this.listBoxInfoJobs.Items.Clear(); _countNode = 0; foreach (JobNodeInfo node in _nodes) { _countNode++; this.listBoxNodes.Items.Add(_countNode.ToString() + ".) " + node.mac); } labelLastReloadTime.Text = DateTime.Now.ToLongTimeString(); }