Skip to content

Commit a7b4f24

Browse files
authored
v1.2.0
1 parent 0cef229 commit a7b4f24

23 files changed

+1020
-212
lines changed
32 KB
Binary file not shown.

QuickPictureViewer-Setup/QuickPictureViewer-Setup.vdproj

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,6 @@
145145
"AssemblyAsmDisplayName" = "8:System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
146146
"ScatterAssemblies"
147147
{
148-
"_9E165066DD6307D67C7B835ACD3F2087"
149-
{
150-
"Name" = "8:System.Net.Http.dll"
151-
"Attributes" = "3:512"
152-
}
153148
}
154149
"SourcePath" = "8:System.Net.Http.dll"
155150
"TargetName" = "8:"
@@ -245,15 +240,15 @@
245240
{
246241
"Name" = "8:Microsoft Visual Studio"
247242
"ProductName" = "8:QuickPictureViewer"
248-
"ProductCode" = "8:{2ED8F089-AE56-4EC4-B8C4-8411DF3C384C}"
249-
"PackageCode" = "8:{FAAAE24A-7B85-4B4D-90A8-F6A2DC75EAD1}"
243+
"ProductCode" = "8:{69586811-9894-4DDE-AE9A-A00C9B6A79B7}"
244+
"PackageCode" = "8:{314E4783-ED0D-43B5-8DC2-2BF0705F64EE}"
250245
"UpgradeCode" = "8:{D9871B4D-DF1B-418F-A7BF-D5F44A9FCFCE}"
251246
"AspNetVersion" = "8:2.0.50727.0"
252247
"RestartWWWService" = "11:FALSE"
253248
"RemovePreviousVersions" = "11:TRUE"
254249
"DetectNewerInstalledVersion" = "11:TRUE"
255250
"InstallAllUsers" = "11:FALSE"
256-
"ProductVersion" = "8:1.1.0"
251+
"ProductVersion" = "8:1.2.0"
257252
"Manufacturer" = "8:Module Art"
258253
"ARPHELPTELEPHONE" = "8:"
259254
"ARPHELPLINK" = "8:"

quick-picture-viewer/AboutBox1.Designer.cs

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

quick-picture-viewer/AboutBox1.cs

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.ComponentModel;
4+
using System.Drawing;
5+
using System.Linq;
6+
using System.Reflection;
7+
using System.Threading.Tasks;
8+
using System.Windows.Forms;
9+
10+
namespace quick_picture_viewer
11+
{
12+
partial class AboutBox1 : Form
13+
{
14+
public AboutBox1()
15+
{
16+
InitializeComponent();
17+
this.productLabel.Text = AssemblyProduct;
18+
this.versionLabel.Text = String.Format("Version: {0}", AssemblyVersion);
19+
this.companyLabel.Text = String.Format("by {0}", AssemblyCompany);
20+
this.descriptionLabel.Text = AssemblyDescription;
21+
}
22+
23+
#region Assembly Attribute Accessors
24+
25+
public string AssemblyTitle
26+
{
27+
get
28+
{
29+
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false);
30+
if (attributes.Length > 0)
31+
{
32+
AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0];
33+
if (titleAttribute.Title != "")
34+
{
35+
return titleAttribute.Title;
36+
}
37+
}
38+
return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
39+
}
40+
}
41+
42+
public string AssemblyVersion
43+
{
44+
get
45+
{
46+
return Assembly.GetExecutingAssembly().GetName().Version.ToString();
47+
}
48+
}
49+
50+
public string AssemblyDescription
51+
{
52+
get
53+
{
54+
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false);
55+
if (attributes.Length == 0)
56+
{
57+
return "";
58+
}
59+
return ((AssemblyDescriptionAttribute)attributes[0]).Description;
60+
}
61+
}
62+
63+
public string AssemblyProduct
64+
{
65+
get
66+
{
67+
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false);
68+
if (attributes.Length == 0)
69+
{
70+
return "";
71+
}
72+
return ((AssemblyProductAttribute)attributes[0]).Product;
73+
}
74+
}
75+
76+
public string AssemblyCopyright
77+
{
78+
get
79+
{
80+
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
81+
if (attributes.Length == 0)
82+
{
83+
return "";
84+
}
85+
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
86+
}
87+
}
88+
89+
public string AssemblyCompany
90+
{
91+
get
92+
{
93+
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false);
94+
if (attributes.Length == 0)
95+
{
96+
return "";
97+
}
98+
return ((AssemblyCompanyAttribute)attributes[0]).Company;
99+
}
100+
}
101+
#endregion
102+
}
103+
}

0 commit comments

Comments
 (0)