You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
395 B

4 years ago
4 years ago
4 years ago
  1. using Apewer;
  2. using Apewer.Surface;
  3. using System;
  4. using System.Windows.Forms;
  5. /// <summary>扩展方法。</summary>
  6. public static class Extensions_Apewer_Windows
  7. {
  8. #region Surface
  9. #if NETFX || NETCORE
  10. /// <summary></summary>
  11. public static void Invoke(this Control @this, Action action, bool async = false) => FormsUtility.Invoke(@this, action, async);
  12. #endif
  13. #endregion
  14. }