public void UpdateStatus() { if (Imb == null) return; Status.Id = Imb.ClientHandle; Imb.SetVariableValue(Status.Id + ".status", Status.ToString()); }