protected internal virtual void DrawControl() { if (!DrawControlTexture) { return; } if (!TextureValid) { CreateTexture(); } if (ControlTexture == null || ControlTexture.Disposed) { return; } DXManager.DrawOpaque(ControlTexture, new Rectangle(0, 0, Size.Width, Size.Height), new Vector3?(new Vector3((float)(DisplayLocation.X), (float)(DisplayLocation.Y), 0.0f)), Color.White, Opacity); CleanTime = CMain.Time + Settings.CleanDelay; }