增加版本显示
This commit is contained in:
parent
f5f5bac98a
commit
7f61ee3fb3
|
@ -3,6 +3,7 @@ using CalendarNotepad.Models;
|
|||
using Microsoft.VisualBasic;
|
||||
using SqlSugar;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
|
||||
namespace CalendarNotepad
|
||||
{
|
||||
|
@ -12,6 +13,11 @@ namespace CalendarNotepad
|
|||
|
||||
public WorkMain() {
|
||||
InitializeComponent();
|
||||
|
||||
string version = Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "";
|
||||
version = version == "" ? "" : $"({version})";
|
||||
this.Text = $"工作日志记录{version}";
|
||||
|
||||
this.rtbMsg.EnableAutoDragDrop = true;
|
||||
this.OnDataReset();
|
||||
this.rtbMsg.TextChanged += RtbMsg_TextChanged;
|
||||
|
|
Loading…
Reference in New Issue
Block a user