示例#1
0
 private void designController_DesignCreated(object sender, DesignEventArgs e)
 {
     if (designsComboBox.Items != null)
     {
         designsComboBox.SelectedIndex = designsComboBox.Items.Add(e.Design);
     }
 }
示例#2
0
 private void designController_DesignDeleted(object sender, DesignEventArgs e)
 {
     if (designsComboBox.Items.Contains(e.Design))
     {
         designsComboBox.Items.Remove(e.Design);
     }
     designsComboBox.SelectedItem = Project.Design;
 }
示例#3
0
 private void designController_DesignChanged(object sender, DesignEventArgs e)
 {
     // nothing to do
 }
示例#4
0
 private void designController_DesignDeleted(object sender, DesignEventArgs e)
 {
     if (designsComboBox.Items.Contains(e.Design))
         designsComboBox.Items.Remove(e.Design);
     designsComboBox.SelectedItem = Project.Design;
 }
示例#5
0
 private void designController_DesignCreated(object sender, DesignEventArgs e)
 {
     if (designsComboBox.Items != null)
         designsComboBox.SelectedIndex = designsComboBox.Items.Add(e.Design);
 }
示例#6
0
 private void designController_DesignChanged(object sender, DesignEventArgs e)
 {
     // nothing to do
 }
示例#7
0
		private void designController_DesignDeleted(object sender, DesignEventArgs e) {
			if (designsComboBox.Items.Contains(e.Design.Name))
				designsComboBox.Items.Remove(e.Design.Name);
			designsComboBox.SelectedIndex = designsComboBox.Items.IndexOf(Project.Design.Name);
		}