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();
                }
            }
        }
Esempio n. 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();
         }
     }
 }
Esempio n. 3
0
 public void UpdateSataus()
 {
     ToolStripItemViewHelper.UpdateStatus(this);
 }