//Add
        private void NewProjectButton_Click(object sender, EventArgs e)
        {
            var addProject = new ProjectAdd();

            addProject.ShowDialog();
            RefreshProjectsListBox();
        }
        //Edit
        private void ProjectDetailsButton_Click(object sender, EventArgs e)
        {
            var Projects = new List <Projects>();

            foreach (var CheckedProjects in ProjectHistroylistBox.CheckedItems)
            {
                Projects.Add(ProjectList.FindProject(CheckedProjects.ToString().GetProjectNameInCheck()));
            }
            if (Projects.Count == 0)
            {
                return;
            }

            foreach (var Project in Projects)
            {
                var editProject = new ProjectAdd(Project);
                editProject.ShowDialog();
            }
            RefreshProjectsListBox();
        }