private void cToolStripMenuItem1_MouseLeave(object sender, EventArgs e) { myproject.type = sender.ToString(); }