private static void OpenMenu( VFSEditorForm vfsEditorForm )
            {
                vfsEditorForm.OpenFileToolStripMenuItem.Enabled = s_MenuItem1;
                vfsEditorForm.CloseCToolStripMenuItem.Enabled = s_MenuItem2;

                vfsEditorForm.LoadFileToolStripMenuItem.Enabled = s_MenuItem4;
                vfsEditorForm.打开方式ToolStripMenuItem.Enabled = s_MenuItem5;
                vfsEditorForm.解压缩ToolStripMenuItem.Enabled = s_MenuItem6;
                vfsEditorForm.RenToolStripMenuItem.Enabled = s_MenuItem7;
                vfsEditorForm.DeleteToolStripMenuItem.Enabled = s_MenuItem8;
                vfsEditorForm.AttributeToolStripMenuItem.Enabled = s_MenuItem9;
                vfsEditorForm.AddNewVFSToolStripMenuItem.Enabled = s_MenuItem10;
                vfsEditorForm.新建文件夹NToolStripMenuItem.Enabled = s_MenuItem11;
                vfsEditorForm.新建文件加ToolStripMenuItem.Enabled = s_MenuItem12;
                vfsEditorForm.AddFileToolStripMenuItem.Enabled = s_MenuItem13;
                vfsEditorForm.AddFolderToolStripMenuItem.Enabled = s_MenuItem14;
                vfsEditorForm.AllDecRToolStripMenuItem.Enabled = s_MenuItem15;
            }
            private static void CloseMenu( VFSEditorForm vfsEditorForm )
            {
                s_MenuItem1 = vfsEditorForm.OpenFileToolStripMenuItem.Enabled;
                s_MenuItem2 = vfsEditorForm.CloseCToolStripMenuItem.Enabled;

                s_MenuItem4 = vfsEditorForm.LoadFileToolStripMenuItem.Enabled;
                s_MenuItem5 = vfsEditorForm.打开方式ToolStripMenuItem.Enabled;
                s_MenuItem6 = vfsEditorForm.解压缩ToolStripMenuItem.Enabled;
                s_MenuItem7 = vfsEditorForm.RenToolStripMenuItem.Enabled;
                s_MenuItem8 = vfsEditorForm.DeleteToolStripMenuItem.Enabled;
                s_MenuItem9 = vfsEditorForm.AttributeToolStripMenuItem.Enabled;
                s_MenuItem10 = vfsEditorForm.AddNewVFSToolStripMenuItem.Enabled;
                s_MenuItem11 = vfsEditorForm.新建文件夹NToolStripMenuItem.Enabled;
                s_MenuItem12 = vfsEditorForm.新建文件加ToolStripMenuItem.Enabled;
                s_MenuItem13 = vfsEditorForm.AddFileToolStripMenuItem.Enabled;
                s_MenuItem14 = vfsEditorForm.AddFolderToolStripMenuItem.Enabled;
                s_MenuItem15 = vfsEditorForm.AllDecRToolStripMenuItem.Enabled;

                vfsEditorForm.OpenFileToolStripMenuItem.Enabled = false;
                vfsEditorForm.CloseCToolStripMenuItem.Enabled = false;

                vfsEditorForm.LoadFileToolStripMenuItem.Enabled = false;
                vfsEditorForm.打开方式ToolStripMenuItem.Enabled = false;
                vfsEditorForm.解压缩ToolStripMenuItem.Enabled = false;
                vfsEditorForm.RenToolStripMenuItem.Enabled = false;
                vfsEditorForm.DeleteToolStripMenuItem.Enabled = false;
                vfsEditorForm.AttributeToolStripMenuItem.Enabled = false;
                vfsEditorForm.AddNewVFSToolStripMenuItem.Enabled = false;
                vfsEditorForm.新建文件夹NToolStripMenuItem.Enabled = false;
                vfsEditorForm.新建文件加ToolStripMenuItem.Enabled = false;
                vfsEditorForm.AddFileToolStripMenuItem.Enabled = false;
                vfsEditorForm.AddFolderToolStripMenuItem.Enabled = false;
                vfsEditorForm.AllDecRToolStripMenuItem.Enabled = false;
            }
 public static void InitOpenIndex( VFSEditorForm vfsEditorForm )
 {
     m_vfsOpenIndexForm = vfsEditorForm;
     Thread tThread = new Thread( new ThreadStart( ExtractAllThread.OpenIndexThreadProc ) );
     tThread.Start();
 }
            public static void InitExtractSwapFile( VFSEditorForm vfsEditorForm, string strFileName, string strChangeFile, string strVfsFile )
            {
                m_vfsExtractSwapFile = vfsEditorForm;
                m_strFileName = strFileName;
                m_strChangeFile = strChangeFile;
                m_strVfsFile = strVfsFile;

                Thread tThread = new Thread( new ThreadStart( ExtractAllThread.InitExtractSwapThreadProc ) );
                tThread.Start();
            }
            public static void InitExtractDirectoryFile( VFSEditorForm vfsEditorForm, TreeNode treeNode )
            {
                m_vfsExtractDirectoryFile = vfsEditorForm;
                m_treeNode = treeNode;

                Thread tThread = new Thread( new ThreadStart( ExtractAllThread.InitExtractDirectoryFileThreadProc ) );
                tThread.Start();
            }
            public static void InitExtractFileTo( VFSEditorForm vfsEditorForm, string strExtractFile, string strExtractFileTo )
            {
                m_vfsExtractFileEditorFormTo = vfsEditorForm;
                m_strExtractFileFullPathTo = strExtractFile;
                m_strExtractFileFullPathTo2 = strExtractFileTo;

                Thread tThread = new Thread( new ThreadStart( ExtractAllThread.ExtractFileToThreadProc ) );
                tThread.Start();
            }
 public static void InitExtractFile( VFSEditorForm vfsEditorForm, string strExtractFile, string strExtractFileName )
 {
     m_vfsExtractFileEditorForm = vfsEditorForm;
     m_strExtractFileFullPath = strExtractFile;
     m_strExtractFileName = strExtractFileName;
     Thread tThread = new Thread( new ThreadStart( ExtractAllThread.ExtractFileThreadProc ) );
     tThread.Start();
 }
 public static void InitExtractAllFile( VFSEditorForm vfsEditorForm )
 {
     m_vfsExtractAllFileEditorForm = vfsEditorForm;
     Thread tThread = new Thread( new ThreadStart( ExtractAllThread.ExtractAllFileThreadProc ) );
     tThread.Start();
 }