CSharpMinifier.GUI.frmMain.FillList C# (CSharp) Method

FillList() private method

private FillList ( string fileNames ) : void
fileNames string
return void
        void FillList(string[] fileNames)
        {
            Sources = new Dictionary<string, string>();
            foreach (var fileName in fileNames)
            {
                var lbItem = new ListBoxItem(fileName, Path.GetFileName(fileName));
                Sources[lbItem.Key] = File.ReadAllText(lbItem.Key);
                lbInputFiles.Items.Add(lbItem);
            }
        }