Skip to content

Commit

Permalink
Fix removed incorrect administrator right warning message.
Browse files Browse the repository at this point in the history
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
  • Loading branch information
D9ping committed Aug 13, 2016
1 parent b87cc24 commit b51ef4c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions IPv6Control/FrmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ public FrmMain()
this.DisplayNewDisabledComponentValue();
this.SetCheckboxesByDisabledComponentValue();
}
else
{
MessageBox.Show("Could not load current settings.\r\nAdministrator rights are required to read to the registery key.");
}

this.disabledComponentValue.DoCalculateValue = true;
}
Expand Down Expand Up @@ -77,7 +73,7 @@ private void chxDisableAllIpHttps_CheckedChanged(object sender, System.EventArgs

private void btnSave_Click(object sender, EventArgs e)
{
DialogResult result = MessageBox.Show("Are you sure you want to write the new DisabledComponents DWORD hexadecimal value: " + this.lblDisabledComponentHEX.Text + " to Windows registery?\r\nIf registery value already exists the old value will be overwritten.",
DialogResult result = MessageBox.Show("Are you sure you want to write the new DisabledComponents DWORD hexadecimal value: " + this.lblDisabledComponentHEX.Text + " to Windows registery?\r\nIf registery value already exists the old value will be overwritten.",
"Apply settings?", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (result == DialogResult.No)
{
Expand Down

0 comments on commit b51ef4c

Please sign in to comment.