Finished initial build of the back page generator. Unable to properly merge the two tables with Pechkin so far.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AdvertsingProfitControl
|
||||
{
|
||||
internal partial class AboutBox1 : Form
|
||||
{
|
||||
public AboutBox1()
|
||||
{
|
||||
InitializeComponent();
|
||||
labelProductVerion.Text = $@"Advertising Profit Control Version: {Assembly.GetEntryAssembly().GetName().Version}";
|
||||
var db = new AdvertisingProfitControlModel();
|
||||
var version = db.Versions.SingleOrDefault(x => x.Id == 1);
|
||||
databaseVersionLabel.Text = version == null ? @"Database Version: N/A" : $@"Database Version: {version.VersionNumber}";
|
||||
reportGeneratingVersionLabel.Text = @"Report Generating Engine Version: 0.5.0.0 Alpha";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user