示例#1
0
        private void tool_AddProject_Click(object sender, EventArgs e)
        {
            AddProject manage = new AddProject(this);

            this.Hide();
            manage.StartPosition = FormStartPosition.CenterScreen;
            manage.Show();
        }
示例#2
0
        private void EditProjectCommandExecute(Project project)
        {
            AddProjectVM dataContext = new AddProjectVM(changeCanAddProjectToTrue, logedUser, project);
            AddProject   dialog      = new AddProject();

            dialog.DataContext = dataContext;
            dialog.Show();
        }
示例#3
0
        private void AddProjectCommandExecute()
        {
            CanAddProject = false;
            AddProjectVM dataContext = new AddProjectVM(changeCanAddProjectToTrue, logedUser);
            AddProject   dialog      = new AddProject();

            dialog.DataContext = dataContext;
            dialog.Show();
        }
示例#4
0
        private void OpenFormAddProject(object arg)
        {
            var addProject = new AddProject();

            addProject.Show();
        }