Cabster/Extensions/ControlHighlightExtensions.cs
/// <summary>
///     Destaca a cor de um controle.
/// </summary>
/// <param name="control">Controle.</param>
Destaca a cor de um controle.
Destaca a cor de um controle .
public static T MakeHighlight<T>(this T control) where T : Control
        {
            var containsKey = Controls.ContainsKey(control);
            if (!containsKey) Controls.Add(control, new MakeHighlightInfo(control));
            Controls[control].Highlight();
            return control;
        }
public static T MakeHighlight < T > ( this T control ) where T : Control { var containsKey = Controls . ContainsKey ( control ) ; if ( ! containsKey ) Controls . Add ( control , new MakeHighlightInfo ( control ) ) ; Controls [ control ] . Highlight ( ) ; return control ; }
Destaca a cor de um controle.
Destaca a cor de um controle .
T
this
control
None