private bool IsHeaderRevered(PPTStatus status, PPTMemory memory) { if (status.LobbyMax > 2) { return(false); } return(memory.MyIndex != 0); }
/// <summary> /// 全局信息初始化 /// </summary> public static void init() { SLIDE_WIDTH = Screen.width; SLIDE_Height = Screen.height; Vesal_Data_Path = string.Empty; liteDbPwd = string.Empty; pptStatus = PPTStatus.unziping; PPTPath = string.Empty; pagePath = string.Empty; }
public static void Initialize() { Core.TrayIcon.IconText = Config.ProjectAssemply.Name; Core.MainWindow.Show(); #if DEBUG Core.DebugWindow.Show(); #endif Core.OldPPTStatus = new PPTStatus(); Core.OldPPTStatus.Check(); Core.CurrentMatch.Reset(); Core.PPTTimer.Start(); }