BSA_Browser.BSABrowser.ClearList()

Here are the examples of the csharp api class BSA_Browser.BSABrowser.ClearList() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

3 Examples 7

1. Example

Project: BSA_Browser
Source File: BSABrowser.cs
View license
private void CloseArchive(ArchiveNode archiveNode)
        {
            if (SelectedArchiveNode == archiveNode)
                this.ClearList();

            archiveNode.Archive.Close();

            tvFolders.Nodes.Remove(archiveNode);

            if (tvFolders.GetNodeCount(false) == 0)
            {
                btnPreview.Enabled = false;
                btnExtractAllFolders.Enabled = false;
                btnExtractAll.Enabled = false;
            }
        }

2. Example

Project: BSA_Browser
Source File: BSABrowser.cs
View license
private void CloseArchives()
        {
            this.ClearList();

            foreach (ArchiveNode node in tvFolders.Nodes)
                node.Archive.Close();

            tvFolders.Nodes.Clear();

            // Disable buttons
            btnPreview.Enabled = btnExtractAllFolders.Enabled = btnExtractAll.Enabled = false;
        }

3. Example

Project: BSA_Browser
Source File: BSABrowser.cs
View license
public void OpenArchive(string path, bool addToRecentFiles = false)
        {
            // Check i/n ..... /n //View Source file for more details /n }