private void editProjectToolStripMenuItem_Click(object sender, EventArgs e) { if (clbProjects.SelectedItem != null) { var selectedProject = ((dynamic)(clbProjects.SelectedItem)).ProjectID; var projectManager = new FrmProjectManager(); projectManager.Run(selectedProject); } }
private void btnProjects_Click(object sender, EventArgs e) { var projectManager = new FrmProjectManager(); projectManager.Run(); }