Example #1
0
        private void B_EditP_Click(object sender, EventArgs e)
        {
            SendSaveInfo();
            var ProjectManagerForm = new Forms.ProjectManagerForm("isedit");

            if (ProjectManagerForm.ShowDialog() == DialogResult.OK)
            {
                // process results here
                GetAllfiles();
            }
            else
            {
            }
        }
Example #2
0
        private void B_AddP_Click(object sender, EventArgs e)
        {
            //Forms.ProjectManagerForm ProjectManager = new Forms.ProjectManagerForm();
            //ProjectManager.Show();

            var ProjectManagerForm = new Forms.ProjectManagerForm("isnew");

            if (ProjectManagerForm.ShowDialog() == DialogResult.OK)
            {
                // process results here
                GetAllfiles();
            }
            else
            {
            }
            // The Add button was clicked.
            //_items.Add("New item " + DateTime.Now.Second); // <-- Any string you want

            // Change the DataSource.
            //listBox1.DataSource = null;
            //listBox1.DataSource = _items;
        }