Example #1
0
 private void ButtonReset_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show(FormSettings_Localization.SettingsAskResetDefaultValues, TrayTOTP_Plugin_Localization.strTrayTOTPPlugin, MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
     {
         Working(true, false); //Set controls depending on the state of action.
         WorkerReset.RunWorkerAsync();
     }
 }