Authentiqr.NET.frmAccount.btnRemove_Click C# (CSharp) Метод

btnRemove_Click() приватный Метод

private btnRemove_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        private void btnRemove_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show(String.Format("Are you sure you want to remove the following account?\r\n\r\n{0}", AccountName),
                                "Remove Account",
                                MessageBoxButtons.YesNo,
                                MessageBoxIcon.Exclamation) == DialogResult.Yes)
            {
                Key = "";
                AccountName = "";
                DialogResult = DialogResult.OK;
            }
        }