private void NumMaxDevices_ValueChanged(object sender, EventArgs e) { maxDevicesHasChanged = true; ServerForm.MaximumNumberOfDevices = (int)NumMaxDevices.Value; ServerForm.ReadProfile(); }