Пример #1
0
        private void butNewProject2_Click(object sender, EventArgs e)
        {
            newProject np = new newProject();
            np.ShowDialog();

            if (np.DialogResult == DialogResult.Cancel)
            {
            }

            else
            {
                if (np.DialogResult == DialogResult.Yes)
                {
                    general.actualProject = np.pr;
                    this.Text = "myWay " + general.actualProject.name;
                    loadControls();
                }

            }
        }
Пример #2
0
        private void butNewProject2_Click(object sender, EventArgs e)
        {
            newProject np = new newProject();
            np.ShowDialog();

            if (np.DialogResult == DialogResult.Cancel)
            {
            }

            else
            {
                if (np.DialogResult == DialogResult.Yes)
                {
                    general.actualProject = np.pr;
                    refreshDataWithActualProject();
                }

            }
        }