Exemplo n.º 1
0
        //Przyciski
        private void create_new_button_Click(object sender, EventArgs e)
        {
            CreateProject createPform = new CreateProject(projdir);

            createPform.ShowDialog();
            createPform.Tag = this;
        }
 private void duplicateProjectButton_Click(object sender, EventArgs e)
 {
     if (projectList1.SelectedItems.Count == 1)
     {
         string projname = projectList1.SelectedItems[0].Text;
         //MessageBox.Show("" + projname);
         CreateProject duplicateSelP = new CreateProject(this.projdir, projname);
         duplicateSelP.ShowDialog();
         duplicateSelP.Tag = this;
         Populate_list();
     }
 }