public override void Activate()
 {
     VideoOS.Platform.Messaging.Message message = new VideoOS.Platform.Messaging.Message(SCToolbarPluginDefinition.SetViewItemBackgroundColor);
     message.Data = new SCToolbarPluginDefinition.ColorMessageData()
     {
         Color = _color, ViewItemInstanceFQID = null, WindowFQID = _window.FQID
     };
     EnvironmentManager.Instance.SendMessage(message);
 }
 private object SystemConfigChangedEvent(VideoOS.Platform.Messaging.Message message, FQID dest, FQID sender)
 {
     if (userContext1 != null)
     {
         listBox1.Items.Clear();
         FillCameraList(userContext1, listBox1);
     }
     if (userContext2 != null)
     {
         listBox2.Items.Clear();
         FillCameraList(userContext2, listBox2);
     }
     return(null);
 }