using DevExpress.XtraEditors; namespace IStation.Win { public static class XtraFormExtend { public static void SetGlowEffect(this XtraForm form) { form.ActiveGlowColor = Color.FromArgb(0, 122, 204); form.FormBorderEffect = FormBorderEffect.Glow; } } }