```csharp
using System;
using System.Windows.Forms;
namespace AlexDevexpressToolTest
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
//Alex.DevexpressTools.Hit.Init();
Application.Run(new Form1());
}
}
}
```
工具方法:
```csharp
using DotNetDetour;
namespace Alex.DevexpressTools
{
public class Hit
{
public static void Init()
{
MethodHook.Install();
}
}
public class Utils : IMethodHook
{
#region 去掉弹窗
[HookMethod("DevExpress.Utils.About.Utility", null, null)]
public static bool ShouldShowAbout()
{
return false;
}