Skip to content

Commit

Permalink
add version to about dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
t0815 committed Oct 28, 2023
1 parent 5a79ab5 commit 7431cd0
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 21 deletions.
66 changes: 45 additions & 21 deletions MyCBZ/Forms/AboutDialogForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions MyCBZ/Forms/AboutDialogForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@ public AboutDialogForm()
{
InitializeComponent();
AppNameLabel.Text = Win_CBZSettings.Default.AppName;
AppVersionLabel.Text = "v" + Win_CBZSettings.Default.Version;
LicenseInfoRichtextBox.Rtf = global::Win_CBZ.Properties.Resources.CBZMageAboutMessage;
}

private void button1_Click(object sender, EventArgs e)
{
this.Close();
}

private void AboutDialogForm_Load(object sender, EventArgs e)
{

}
}
}

0 comments on commit 7431cd0

Please sign in to comment.