Skip to content

Commit

Permalink
Device config form: save config before change tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Am6er committed Feb 28, 2024
1 parent 9d9b9a0 commit 351792b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
4 changes: 2 additions & 2 deletions BecquerelMonitor/BecquerelMonitor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<MinimumRequiredVersion>2022.07.08.7</MinimumRequiredVersion>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>index.html</WebPage>
<ApplicationRevision>2</ApplicationRevision>
<ApplicationVersion>2024.02.28.2</ApplicationVersion>
<ApplicationRevision>3</ApplicationRevision>
<ApplicationVersion>2024.02.28.3</ApplicationVersion>
<UseApplicationTrust>true</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
Expand Down
6 changes: 4 additions & 2 deletions BecquerelMonitor/DeviceConfigForm.Designer.cs

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

7 changes: 7 additions & 0 deletions BecquerelMonitor/DeviceConfigForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,13 @@ void button12_Click(object sender, EventArgs e)
this.textBox1.SelectAll();
this.textBox1.Focus();
}
private void tabControl1_Selecting(object sender, EventArgs e)
{
if (!this.ConfirmSaveDeviceConfig())
{
return;
}
}

// Token: 0x0600051B RID: 1307 RVA: 0x00020A58 File Offset: 0x0001EC58
void button4_Click(object sender, EventArgs e)
Expand Down
4 changes: 2 additions & 2 deletions BecquerelMonitor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: AssemblyVersion("2024.02.28.2")]
[assembly: AssemblyVersion("2024.02.28.3")]
[assembly: AssemblyProduct("BecquerelMonitor")]
[assembly: AssemblyCopyright("free")]
[assembly: AssemblyTrademark("none")]
[assembly: AssemblyConfiguration("")]
[assembly: Guid("40110b38-4882-47c1-ad94-a71e58dcb5f8")]
[assembly: AssemblyFileVersion("2024.02.28.2")]
[assembly: AssemblyFileVersion("2024.02.28.3")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCompany("free")]
[assembly: CompilationRelaxations(8)]
Expand Down

0 comments on commit 351792b

Please sign in to comment.