Skip to content

Commit

Permalink
update version, removed autoscalemode
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirogen committed Jan 6, 2025
1 parent 2113c9b commit b1ac796
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion appveyor-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.8.{build}
version: 1.10.{build}
branches:
only:
- master
Expand Down
4 changes: 2 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Version Version
patch = AppVeyor.Instance.BuildNumber;
}

return new Version(1, 9, 0, patch);
return new Version(1, 10, 0, patch);
}
}

Expand Down Expand Up @@ -341,7 +341,7 @@ protected override void OnBuildInitialized()
});

Target CreateSetup => _ => _
.DependsOn(CopyFilesForSetup)
.DependsOn(CopyFilesForSetup, ChangeVersionNumber)
.Before(Publish)
.OnlyWhenStatic(() => Configuration == "Release")
.Executes(() =>
Expand Down
2 changes: 1 addition & 1 deletion src/LogExpert/Dialogs/AboutBox.Designer.cs

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

14 changes: 5 additions & 9 deletions src/LogExpert/Dialogs/AboutBox.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Diagnostics;
using System.IO;
using System.IO;
using System.Reflection;
using System.Windows.Forms;

Expand All @@ -19,9 +18,6 @@ public AboutBox()
{
InitializeComponent();

AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = AutoScaleMode.Dpi;

_assembly = Assembly.GetExecutingAssembly();

Text = $@"About {AssemblyTitle}";
Expand Down Expand Up @@ -52,7 +48,7 @@ public string AssemblyTitle
object[] attributes = _assembly.GetCustomAttributes(typeof(AssemblyTitleAttribute), false);
if (attributes.Length > 0)
{
AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute) attributes[0];
AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0];
if (titleAttribute.Title != "")
{
return titleAttribute.Title;
Expand Down Expand Up @@ -86,7 +82,7 @@ public string AssemblyDescription
{
return string.Empty;
}
return ((AssemblyDescriptionAttribute) attributes[0]).Description;
return ((AssemblyDescriptionAttribute)attributes[0]).Description;
}
}

Expand All @@ -99,7 +95,7 @@ public string AssemblyProduct
{
return string.Empty;
}
return ((AssemblyProductAttribute) attributes[0]).Product;
return ((AssemblyProductAttribute)attributes[0]).Product;
}
}

Expand All @@ -112,7 +108,7 @@ public string AssemblyCopyright
{
return string.Empty;
}
return ((AssemblyCopyrightAttribute) attributes[0]).Copyright;
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
}
}

Expand Down

0 comments on commit b1ac796

Please sign in to comment.