Example #1
0
        private async void Form1_Load(object sender, EventArgs e)
        {
            this.comboBox1.SelectedIndexChanged += new System.EventHandler(ComboBox1_SelectedIndexChanged);

            Dictionary <string, string> list = ProjectLoader.GetProjects();

            foreach (KeyValuePair <string, string> project in list)
            {
                comboBox1.Items.Add(project.Key);
            }
        }
Example #2
0
 public List <Project> GetProjects()
 {
     return(projectLoader.GetProjects());
 }