Skip to content

Commit 07ba026

Browse files
authored
Add files via upload
1 parent 804a11e commit 07ba026

38 files changed

+12442
-16
lines changed

AboutBoxForm.Designer.cs

Lines changed: 236 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AboutBoxForm.cs

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
using Julian_and_his_dates.Properties;
2+
using MijoSoftware.AssemblyInformation;
3+
4+
5+
namespace JulianAndHisDates
6+
{
7+
internal partial class AboutBoxForm : Form
8+
{
9+
/// <summary>
10+
///
11+
/// </summary>
12+
public AboutBoxForm()
13+
{
14+
InitializeComponent();
15+
Text = $"Info about {AssemblyInfo.AssemblyTitle}";
16+
labelProductName.Text = AssemblyInfo.AssemblyProduct;
17+
labelVersion.Text = $"Version {AssemblyInfo.AssemblyVersion}";
18+
labelCopyright.Text = AssemblyInfo.AssemblyCopyright;
19+
labelCompanyName.Text = AssemblyInfo.AssemblyCompany;
20+
textBoxDescription.Text = AssemblyInfo.AssemblyDescription;
21+
}
22+
23+
private void LogoPictureBox_Click(object sender, EventArgs e)
24+
{
25+
using System.Media.SoundPlayer sound = new(stream: Resources.wavBleep);
26+
sound.Play();
27+
}
28+
29+
private void AboutBoxForm_Load(object sender, EventArgs e)
30+
{
31+
}
32+
}
33+
}

0 commit comments

Comments
 (0)