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();
                }
            }
        }
示例#2
0
 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();
         }
     }
 }
示例#3
0
 public void UpdateSataus()
 {
     ToolStripItemViewHelper.UpdateStatus(this);
 }