Пример #1
0
 public void UpdateFileAccessTable()
 {
     if (!m_FileAccessTableIsCreated)
     {
         CreateFileAccessTable();
     }
     m_FileAccessTreeView = new FileAccessTreeView(m_FileAccessTreeViewState, m_FileAccessMultiColumnHeader, m_CaptureData, this);
 }
Пример #2
0
        public void CreateFileAccessTable()
        {
            m_FileAccessTreeViewState          = new TreeViewState();
            m_FileAccessMulticolumnHeaderState = FileAccessTreeView.CreateDefaultMultiColumnHeaderState(700);

            m_FileAccessMultiColumnHeader = new MultiColumnHeader(m_FileAccessMulticolumnHeaderState);
            m_FileAccessMultiColumnHeader.SetSorting((int)FileAccessTreeView.FileIOColumns.Index, true);
            m_FileAccessMultiColumnHeader.ResizeToFit();

            m_FileAccessTableIsCreated = true;
        }
Пример #3
0
        void ClearData()
        {
            m_FileAccessTreeViewState          = null;
            m_FileAccessMulticolumnHeaderState = null;
            m_FileAccessTreeView          = null;
            m_FileAccessMultiColumnHeader = null;
            m_FileAccessTableIsCreated    = false;

            m_FileSummaryTreeViewState          = null;
            m_FileSummaryMulticolumnHeaderState = null;
            m_FileSummaryTreeView          = null;
            m_FileSummaryMultiColumnHeader = null;
            m_FileSummaryTableIsCreated    = false;

            m_CaptureData = new FileAccessCaptureData();
            DataPulled    = false;

            // Once there is no data, this will not need to be called again
            ProfilerDriver.profileCleared -= ClearData;
        }