public static AprJVMUI GetInstance() { if (instance == null || instance.IsDisposed) { instance = new AprJVMUI(); } return(instance); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(AprJVMUI.GetInstance()); }