private void diaryToolStripMenuItem_Click(object sender, EventArgs e) { MessageBox.Show("Are you sure you want a new diary?\nThis will completely erase your" + "old diary?", "New Diary", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning); if (DialogResult.OK == true) { txtEntryDate.Text = ""; txtEntryName.Text = ""; txtEntryNumber.Text = ""; txtEntryTime.Text = ""; rtbEntry.Text = ""; } else if (DialogResult.Cancel == true) { // Nothing to do since user cancelled. } }