Пример #1
0
        private void editButton_Click(object sender, RoutedEventArgs e)
        {
            ProjectPoco selected = (ProjectPoco)projectDataGrid.SelectedItem;
            AddProject  projWnd  = new AddProject(OrganizationId, selected);

            projWnd.Show();
        }
Пример #2
0
        private void addButton_Click(object sender, RoutedEventArgs e)
        {
            // ProjectPoco newProject = new ProjectPoco("Nowy projekt",DateTime.Now,0,1,"Tenneco",2);

            AddProject projWnd = new AddProject(OrganizationId);

            projWnd.Show();

            //newProject.SaveProjectPOST();
        }