public void UpdateSataus() { ToolStripItemViewHelper.UpdateStatus(this); IToolStripItemView itemDoozer; foreach (System.Windows.Forms.ToolStripItem item in this.DropDownItems) { itemDoozer = item as IToolStripItemView; if (itemDoozer != null) { itemDoozer.UpdateSataus(); } } }
public void UpdateSataus() { if (this.Focused) { return; } ToolStripItemViewHelper.UpdateStatus(this); if (ComboBoxCodon.GetSelectedValue != null) { if (String.IsNullOrEmpty(this.ComboBox.ValueMember)) { this.ComboBox.SelectedItem = ComboBoxCodon.GetSelectedValue(); } else { this.ComboBox.SelectedValue = ComboBoxCodon.GetSelectedValue(); } } }
public void UpdateSataus() { ToolStripItemViewHelper.UpdateStatus(this); }