private void buildToolStripMenuItem_Click(object sender, EventArgs e) { if (fileManager == null) { MessageBox.Show("You need to open or create a project first.", "You can't do that!"); return; } fileManager.BuildProject(); }