예제 #1
0
        private void DrawTable()
        {
            tableLayoutPanel1.Controls.Clear();
            FlowLayoutPanel titlePanel = AddressBar.CreateTitleBar(filexExplorer.CurrentPath);

            List <string> dirs        = filexExplorer.getDirs();
            List <IFile>  files       = filexExplorer.getFiles();
            List <IFile>  thermofiles = filexExplorer.getThermoFiles();

            files.AddRange(thermofiles);

            FlowLayoutPanel flowLayoutPanel = guiElements.CreatePanelWithItems(dirs, files);

            tableLayoutPanel1.Controls.Add(titlePanel, 0, 0);
            tableLayoutPanel1.Controls.Add(flowLayoutPanel, 0, 1);

            ConfigureTablePanel();
        }