public void LoadSolutionPlatforms() { ArrayList L = ConfigurationManagerForm.GetSolutionPlatform(vs); ArrayList P = ConfigurationManagerForm.GetProjectPlatform(vs); LoadProjectPlatforms(comboBox12, P); LoadSolutionPlatforms(comboBox11, L); LoadProjectPlatforms(comboBox15, P); LoadSolutionPlatforms(comboBox16, L); LoadProjectPlatforms(comboBox18, P); LoadSolutionPlatforms(comboBox19, L); }
private void button1_Click(object sender, System.EventArgs e) { string platform = textBox1.Text; string data = comboBox1.Text; MessageBox.Show("New platform - " + platform + " with " + data + " will be created for project " + vp.FileName); vs = mf.vs; ArrayList cc = ConfigurationManagerForm.GetSolutionPlatform(vs); foreach (string config in cc) { vp.CreatePlatform(platform, config); } }