Bloom.CollectionChoosing.OpenCreateCloneControl.AddFileChoice C# (CSharp) Method

AddFileChoice() private method

private AddFileChoice ( string path, int index ) : void
path string
index int
return void
        private void AddFileChoice(string path, int index)
        {
            const int kRowOffsetForMRUChoices = 1;
            var button = AddChoice(Path.GetFileNameWithoutExtension(path), path, true, OnOpenRecentCollection,
                                   index + kRowOffsetForMRUChoices);
            button.Tag = path;
        }