private void designController_DesignCreated(object sender, DesignEventArgs e) { if (designsComboBox.Items != null) { designsComboBox.SelectedIndex = designsComboBox.Items.Add(e.Design); } }
private void designController_DesignDeleted(object sender, DesignEventArgs e) { if (designsComboBox.Items.Contains(e.Design)) { designsComboBox.Items.Remove(e.Design); } designsComboBox.SelectedItem = Project.Design; }
private void designController_DesignChanged(object sender, DesignEventArgs e) { // nothing to do }
private void designController_DesignDeleted(object sender, DesignEventArgs e) { if (designsComboBox.Items.Contains(e.Design)) designsComboBox.Items.Remove(e.Design); designsComboBox.SelectedItem = Project.Design; }
private void designController_DesignCreated(object sender, DesignEventArgs e) { if (designsComboBox.Items != null) designsComboBox.SelectedIndex = designsComboBox.Items.Add(e.Design); }
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); }