RadioDld.Preferences.ButtonReset_Click C# (CSharp) Method

ButtonReset_Click() private method

private ButtonReset_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void ButtonReset_Click(object sender, EventArgs e)
        {
            if (Interaction.MsgBox("Are you sure that you would like to reset all of your settings?", MsgBoxStyle.YesNo | MsgBoxStyle.Question) == MsgBoxResult.Yes)
            {
                Settings.ResetUserSettings();
                OsUtils.ApplyRunOnStartup();

                this.Close();
            }
        }