Created the first version of HTML code for the front form. Changed to the Pechkin HTML to PDF library. Removed the string tester. Fixed a bug with the main form where the APC tables would not be sorted by row position.
This commit is contained in:
@@ -53,7 +53,14 @@ namespace AdvertsingProfitControl
|
||||
var node = new TreeNode(file.Name) { Name = file.FullName };
|
||||
fileListTreeView.Nodes.Add(node);
|
||||
}
|
||||
|
||||
//Grab the HTML files
|
||||
fileNames = Directory.GetFiles(Application.StartupPath, "*.html", SearchOption.TopDirectoryOnly);
|
||||
foreach (var fileName in fileNames)
|
||||
{
|
||||
var file = new FileInfo(fileName);
|
||||
var node = new TreeNode(file.Name) { Name = file.FullName };
|
||||
fileListTreeView.Nodes.Add(node);
|
||||
}
|
||||
if (fileListTreeView.Nodes.Count <= 0) return;
|
||||
ReadSelectedFile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user