private void btnDeleteFL_Click(object sender, EventArgs e)
{
if (MessageBox.Show("Are you sure you want to delete this feature?",
"Confirm delete", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
// Delete the require record according to the user command.
}
{
if (MessageBox.Show("Are you sure you want to delete this feature?",
"Confirm delete", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
// Delete the require record according to the user command.
}