private void RenameToolStripMenuItem_Click(object sender, EventArgs e) { try { ResourceExplorer.RenameSelected(); } catch (Exception ex) { MessageBox.Show(this, ex.ToString(), "Error: Can not rename resource.", MessageBoxButtons.OK, MessageBoxIcon.Error); } }