private void tool_AddProject_Click(object sender, EventArgs e) { AddProject manage = new AddProject(this); this.Hide(); manage.StartPosition = FormStartPosition.CenterScreen; manage.Show(); }
private void EditProjectCommandExecute(Project project) { AddProjectVM dataContext = new AddProjectVM(changeCanAddProjectToTrue, logedUser, project); AddProject dialog = new AddProject(); dialog.DataContext = dataContext; dialog.Show(); }
private void AddProjectCommandExecute() { CanAddProject = false; AddProjectVM dataContext = new AddProjectVM(changeCanAddProjectToTrue, logedUser); AddProject dialog = new AddProject(); dialog.DataContext = dataContext; dialog.Show(); }
private void OpenFormAddProject(object arg) { var addProject = new AddProject(); addProject.Show(); }