21 lines
380 B
21 lines
380 B
using Apewer;
|
|
using Apewer.Surface;
|
|
using System;
|
|
using System.Windows.Forms;
|
|
|
|
/// <summary>扩展方法。</summary>
|
|
public static class Extensions
|
|
{
|
|
|
|
#region Surface
|
|
|
|
#if NETFX || NETCORE
|
|
|
|
/// <summary></summary>
|
|
public static void Invoke(this Control @this, Action action, bool async = false) => FormsUtility.Invoke(@this, action, async);
|
|
|
|
#endif
|
|
|
|
#endregion
|
|
|
|
}
|