Exemplo n.º 1
0
 void deleteProject_Click(object sender, EventArgs e)
 {
     String item = ProjectList.SelectedItems[0].Text;
     Project project = new Project(item);
     DeleteProjectChooser del = new DeleteProjectChooser(project.getName());
     del.ShowDialog();
     MessageBox.Show( del.delType );
 }
Exemplo n.º 2
0
 void openProject_Click(object sender, EventArgs e)
 {
     String item = ProjectList.SelectedItems[0].Text;
     Project project = new Project(item);
     if (project.open()) {
         //this.Hide(); // figure this one out later
     } else {
         MessageBox.Show("Could not open project");
     }
 }