private void Item_Click1(object sender, EventArgs e) { if (ServiceController.ActiveWorkingMachine(Convert.ToInt16(selected_label.Name))) { load(); loadState(); } }