Marked as 'AdvertsingProfitControl v 0.9.5' by its folder name. Renamed some database class files, and added a new form to modify existing records.

This commit is contained in:
2021-01-28 19:56:28 -06:00
parent 4c01f4ba46
commit 665f4784e4
74 changed files with 65336 additions and 306 deletions
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AdvertsingProfitControl
{
internal class AdItemCollectionModel
{
private readonly List<string> AdItemCollection = new List<string>();
private readonly AutoCompleteStringCollection TrimmedAdItemCollection = new AutoCompleteStringCollection();
private readonly AutoCompleteStringCollection UsedAdItemCollection = new AutoCompleteStringCollection();
public AdItemCollectionModel()
{
//Start with filling the AdItemCollection array with the items from the database.
var databaseTracker = new DatabaseTracker();
var databaseReader = new DatabaseReader();
AdItemCollection = databaseReader.GetAdItemsSuggestionList(databaseTracker.DatabaseConnectionString);
}
}
}