public static void AddAboutMenuItem(Dashboard dashboard) { IntPtr systemMenu = SystemMenu.GetSystemMenu(dashboard.Handle, false); SystemMenu.InsertMenu(systemMenu, 5, 3072, (IntPtr) 0, string.Empty); string lpNewItem = string.Format(DashboardStringHelper.GetString("SysMenuAbout"), (object) DashboardStringHelper.GetString("ShortenedApplicationCaption")); SystemMenu.InsertMenu(systemMenu, 6, 1024, (IntPtr) 1001, lpNewItem); }
private AppFramework() { this._objDashboard = (Dashboard) null; this._objTaskTray = (TaskTray) null; }