-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAbout.cs
32 lines (30 loc) · 1.07 KB
/
About.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// <copyright file="About.cs" company="None">
// MIT License (MIT). All rights reserved
// </copyright>
// <author>Christoph Gattnar</author>
// <summary>This is the About class.</summary>
namespace BlueDot
{
public class About : AboutControlViewModel
{
/// <summary>
/// Shows About box.
/// </summary>
public void Show()
{
BlueDot.AboutControlView about = new BlueDot.AboutControlView();
AboutControlViewModel vm = (AboutControlViewModel)about.FindResource("ViewModel");
vm.AdditionalNotes = this.AdditionalNotes;
vm.ApplicationLogo = this.ApplicationLogo;
vm.Copyright = this.Copyright;
vm.Description = this.Description;
vm.HyperlinkText = this.HyperlinkText;
vm.Publisher = this.Publisher;
vm.PublisherLogo = this.PublisherLogo;
vm.Title = this.Title;
vm.Version = this.Version;
vm.Window.Content = about;
vm.Window.Show();
}
}
}