Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 5987d30

Browse files
author
kvrigor
committed
Set assembly version to 0.1
1 parent dc3e640 commit 5987d30

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

AutomataGUI/AutomataGUI/MainForm.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using System.Threading.Tasks;
99
using System.Windows.Forms;
1010
using AutomataGUI.Utils;
11+
using System.Diagnostics;
1112

1213
namespace AutomataGUI
1314
{
@@ -18,11 +19,16 @@ public partial class MainForm : Form
1819
Utils.Drawing.LineParam _lastGuideLine;
1920
private Registry.MouseCondition _lastMouseCondition;
2021
private bool _clearWorkspace;
21-
private Point? _zeroStart, zeroEnd, _oneStart, _oneEnd;
22+
private Point? _zeroStart, _oneStart;
2223

2324
public MainForm()
2425
{
2526
InitializeComponent();
27+
System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
28+
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
29+
string version = fvi.FileMajorPart + "." + fvi.FileMinorPart;
30+
this.Text = "DFA2CFG v" + version + " Beta";
31+
2632
drawingBoard.Image = new Bitmap(drawingBoard.Width, drawingBoard.Height);
2733
Utils.Registry.FixedImage = (Image)drawingBoard.Image.Clone();
2834

AutomataGUI/AutomataGUI/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("0.1.0.0")]
36+
[assembly: AssemblyFileVersion("0.1.0.0")]

0 commit comments

Comments
 (0)