public void Start(Grid9Control control) { _control = control; reseted = true; started = true; }
private void ApplyStyle(Grid9Control control, Manager manager) { if (Style == null) return; if (Style.Grid9 != null && !string.IsNullOrEmpty(Style.Grid9)) control.Background = manager.Content.Load<Texture2D>(Style.Grid9); if (Style.Grid9Hover != null && !string.IsNullOrEmpty(Style.Grid9Hover)) control.BackgroundGlow = manager.Content.Load<Texture2D>(Style.Grid9Hover); if (Style.Grid9Disabled != null && !string.IsNullOrEmpty(Style.Grid9Disabled)) control.BackgroundDisabled = manager.Content.Load<Texture2D>(Style.Grid9Disabled); }