Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lzcapp committed Feb 19, 2024
1 parent eeffbac commit 53c0c67
Show file tree
Hide file tree
Showing 18 changed files with 4,008 additions and 3,756 deletions.
122 changes: 61 additions & 61 deletions FrmAboutBox.Designer.cs

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

4 changes: 3 additions & 1 deletion FrmAboutBox.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Diagnostics;
using System.Reflection;
using System.Reflection.Metadata;

namespace KindleMate2 {
internal partial class FrmAboutBox : Form {
Expand Down Expand Up @@ -28,20 +27,23 @@ private static string AssemblyVersion {
private static string AssemblyProduct {
get {
var attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false);

return attributes.Length == 0 ? "" : ((AssemblyProductAttribute)attributes[0]).Product;
}
}

private static string AssemblyTitle {
get {
var attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false);

return attributes.Length == 0 ? "" : ((AssemblyTitleAttribute)attributes[0]).Title;
}
}

private static string AssemblyCopyright {
get {
var attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);

return attributes.Length == 0 ? "" : ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
}
}
Expand Down
Loading

0 comments on commit 53c0c67

Please sign in to comment.