private void CreateProject_Click_1(object sender, System.EventArgs e) { var projectRepository = new ProjectRepository(); projectRepository.CreateFile(@"C:/Users/z6one/TodoList", NameProject.Text); GetListOfProjects.PerformClick(); NameProject.Text = string.Empty; }
private void Form1_Shown(object sender, System.EventArgs e) { GetListOfProjects.PerformClick(); }