private void addUser_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            NewProjectWin npw = new NewProjectWin();
            npw.ShowDialog();

            if(npw.ResultBtn == HideWin.ResultButtons.Ok)
            {
                projects.Add(npw.NewProject);
            }
        }
        private void editUser()
        {
            if (PrjCatalog.SelectedItem != null)
            {
                int index = PrjCatalog.SelectedIndex;
                Project prj = (Project)PrjCatalog.SelectedItem;

                NewProjectWin npw = new NewProjectWin(prj);
                npw.ShowDialog();

                if (npw.ResultBtn == HideWin.ResultButtons.Ok)
                {
                    projects[index] = npw.NewProject;
                }
            }
        }