public void ReloadProjectsPanel()
                {
                        _blockList.Clear();

                        _projectsPanel.Children.Clear();

                        List<string> projects = _chief.SelectProjects();

                        foreach (var item in projects)
                        {
                                ProjectBlock block = new ProjectBlock(item.ToString(), _projectsListPanel.Width, _width / 50);

                                block.MouseDown += block_MouseDown;

                                _blockList.Add(block);

                                _projectsPanel.Children.Add(block);

                        }

                        _projectsPanel.UpdateLayout();
                        _projectsListPanel.UpdateLayout();
                        _navigationPanel.UpdateLayout();
                        this.UpdateLayout();


                }//ReloadProjectsPanel()
                private void SetUpBlocks(List<string> projectsName, double width)
                {

                        _blockList = new List<ProjectBlock>();

                        foreach (var item in projectsName)
                        {
                                ProjectBlock block = new ProjectBlock(item.ToString(), _projectsListPanel.Width, width / 50);

                                block.MouseDown += block_MouseDown;

                                _blockList.Add(block);

                                _projectsPanel.Children.Add(block);
                        }
                }