void BuildCurrentProject() { SaveAll(); var buildSnippet = new BuildSnippetCommand(ProjectService.CurrentProject); buildSnippet.Run(); }
void BuildCurrentToolStripMenuItemClick(object sender, EventArgs e) { SaveAll(); BuildSnippetCommand buildSnippet = new BuildSnippetCommand(ProjectService.CurrentProject); buildSnippet.Run(); }