Skip to content

Commit 970b652

Browse files
committed
Small changes
- Pushed version - Added Preview if Debug Build
1 parent 65af51a commit 970b652

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

Snap2HTML/Forms/frmMain.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ private void frmMain_Load(object sender, EventArgs e)
2323
Text = Application.ProductName + " (Press F1 for Help)";
2424
labelAboutVersion.Text = "version " + Application.ProductVersion.Split('.')[0] + "." + Application.ProductVersion.Split('.')[1];
2525

26+
#if DEBUG
27+
Text = $"{Text} - Preview Build";
28+
#endif
29+
2630
// initialize some settings
2731
int left = Properties.Settings.Default.WindowLeft;
2832
int top = Properties.Settings.Default.WindowTop;
@@ -257,7 +261,7 @@ private void StartProcessing()
257261
}
258262

259263
Cursor.Current = Cursors.WaitCursor;
260-
Text = "Snap2HTML (Working... Press Escape to Cancel)";
264+
Text = "Snap2HTMLNG (Working... Press Escape to Cancel)";
261265
tabCtrl.Enabled = false;
262266
backgroundWorker.RunWorkerAsync();
263267
}
@@ -274,7 +278,11 @@ private void backgroundWorker_RunWorkerCompleted(object sender, RunWorkerComplet
274278

275279
Cursor.Current = Cursors.Default;
276280
tabCtrl.Enabled = true;
277-
this.Text = "Snap2HTML";
281+
this.Text = "Snap2HTMLNG";
282+
283+
#if DEBUG
284+
Text = $"{Text} - Preview Build";
285+
#endif
278286

279287
// Quit when finished if automated via command line
280288
if (this.runningAutomated)

Snap2HTML/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("2.16.0.0")]
36-
[assembly: AssemblyFileVersion("2.16.0.0")]
35+
[assembly: AssemblyVersion("3.0.0")]
36+
[assembly: AssemblyFileVersion("3.0.0")]

0 commit comments

Comments
 (0)