예제 #1
0
 private bool IsHeaderRevered(PPTStatus status, PPTMemory memory)
 {
     if (status.LobbyMax > 2)
     {
         return(false);
     }
     return(memory.MyIndex != 0);
 }
예제 #2
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;
    }
예제 #3
0
        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();
        }