Skip to content

Commit

Permalink
Complete settings UI
Browse files Browse the repository at this point in the history
  • Loading branch information
KTechDev4213 committed Apr 1, 2022
1 parent aa42fcf commit 3c86356
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion QuietCopy/QuietCopy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>inst.html</WebPage>
<AutorunEnabled>true</AutorunEnabled>
<ApplicationRevision>2</ApplicationRevision>
<ApplicationRevision>3</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down
6 changes: 4 additions & 2 deletions QuietCopy/SettingsMan.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ private void specYes_CheckedChanged(object sender, EventArgs e)
}
void save()
{

Settings.Default.destDir = destDirTbox.Text;
Settings.Default.specDir = specYes.Checked;
Settings.Default.specDirPath = specDirPthTxtBx.Text;
}
void load()
{
Settings.Default.destDir = destDirTbox.Text;
destDirTbox.Text = Settings.Default.destDir;
}

private void okBut_Click(object sender, EventArgs e)
Expand Down

0 comments on commit 3c86356

Please sign in to comment.