24 lines
569 B
C#
24 lines
569 B
C#
using NLog;
|
|
|
|
namespace StockMan.CORE.Components
|
|
{
|
|
public partial class CmpFooter
|
|
{
|
|
#region Protected Methods
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
var rawVers = typeof(Program).Assembly.GetName().Version;
|
|
version = rawVers != null ? rawVers : new Version("0.0.0.0");
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
#region Private Fields
|
|
|
|
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
|
|
private Version version = null!;
|
|
|
|
#endregion Private Fields
|
|
}
|
|
} |