//Lost button
        private void ProjectMenuDeleteButton_Click(object sender, EventArgs e)
        {
            var ProjectsMarkedforDestuction = new List <Projects>();

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


            if (DialogResult.Yes == MessageBox.Show("Jeste li sigurni da zelite izbrisati odabrane stavke?", "Oprez!", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation))
            {
                foreach (var project in ProjectsMarkedforDestuction)
                {
                    ProjectList.Remove(project);
                    foreach (var employee in EmployeesOnProject.GetEmployeesOnProject(project.Name))
                    {
                        EmployeesOnProject.Remove(EmployeesOnProject.GetRelation(employee.OIB, project.Name));
                    }
                }
            }
            else
            {
                this.Close();
            }
        }
        //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();
        }