#region Imports using System.ComponentModel; using static DPumpHydr.WinFrmUI.RLT.Util.CyberLibrary; #endregion namespace DPumpHydr.WinFrmUI.RLT.Child.Cyber { #region CyberControllerChild public partial class CyberController : Component { #region Variables private bool Temp = false; #endregion #region Property Region [Category("Cyber")] [Description("Enable/Disable global RGB mode for all Cyber controls")] public bool Status { get => Temp; set { Temp = value; DrawEngine.TimerGlobalRGB(Temp); } } [Category("Cyber")] [Description("RGB Timer Update Interval")] public int TimerInterval { get => DrawEngine.GlobalRGB.Interval; set => DrawEngine.GlobalRGB.Interval = value; } #endregion #region Constructor Region public CyberController(IContainer Container) { Container.Add(this); } #endregion } #endregion }