Example #1
0
        private void addProjectButton_Click(object sender, System.EventArgs e)
        {
            ProjectForm form = new ProjectForm(new Project());

            form.Show();
            form.Closed += new EventHandler(form_Closed);
        }
Example #2
0
        private void propertiesMenuItem_Click(object sender, System.EventArgs e)
        {
            IEnumerator enumr = this.projectListView.SelectedIndices.GetEnumerator();

            enumr.MoveNext();
            Project     p  = ((Project)this._settings.Projects.ToArray()[(int)enumr.Current]);
            ProjectForm pf = new ProjectForm(p);

            pf.Closed += new EventHandler(form_Closed);
            pf.Show();
        }