private void btnRemoveFile_Click(object sender, EventArgs e)
{
// Prompt the user for confirmation.
string message = string.Format(@"Are you sure you wish to delete the file ""{0}""?", _model.CurrentFileName);
if (MessageBox.Show(message, @"Confirm", MessageBoxButtons.OKCancel) == DialogResult.OK)
{
_controller.RemoveCurrentFile();
_controller.RefreshDirectory();
txtTitle.Text = "";
txtX.Text = "";
txtY.Text = "";
}
}