This repository was archived by the owner on May 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 88using System . Threading . Tasks ;
99using System . Windows . Forms ;
1010using AutomataGUI . Utils ;
11+ using System . Diagnostics ;
1112
1213namespace 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
Original file line number Diff line number Diff line change 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" ) ]
You can’t perform that action at this time.
0 commit comments