Win32Exception: 内存资源不足,无法处理此命令。 --NativeErrorCode: 8 StackTrace: 在 System.Windows.Forms.NativeWindow.WindowClass.RegisterClass() 在 System.Windows.Forms.NativeWindow.WindowClass.Create(String className, Int32 classStyle) 在 System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp) 在 System.Windows.Forms.Control.CreateHandle() 在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) 在 System.Windows.Forms.Control.CreateControl() 在 System.Windows.Forms.Control.OnVisibleChanged(EventArgs e) 在 System.Windows.Forms.ButtonBase.OnVisibleChanged(EventArgs e) 在 System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e) 在 System.Windows.Forms.Control.OnVisibleChanged(EventArgs e) 在 System.Windows.Forms.Form.OnVisibleChanged(EventArgs e) 在 System.Windows.Forms.Control.SetVisibleCore(Boolean value) 在 System.Windows.Forms.Form.SetVisibleCore(Boolean value) 在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) 在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) 在 System.Windows.Forms.Form.ShowDialog(IWin32Window owner) 在 System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t) 在 System.Windows.Forms.NotifyIcon.NotifyIconNativeWindow.OnThreadException(Exception e) 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)