System.ComponentModel.Design.DesignerVerbCollection.Add C# (CSharp) Method

Add() public method

[To be supplied.]

public Add ( DesignerVerb value ) : int
value DesignerVerb
return int
        public int Add(DesignerVerb value)
        {
            return List.Add(value);
        }
        /// <summary>

Usage Example

Example #1
0
 public RebarDesigner()
 {
     _verbs = new DesignerVerbCollection();
     _verbs.Add(new DesignerVerb("Add Band", new EventHandler(mnuAddBand)));
     _verbs.Add(new DesignerVerb("Remove Band", new EventHandler(mnuRemoveBand)));
     _verbs[1].Enabled = false;
 }
All Usage Examples Of System.ComponentModel.Design.DesignerVerbCollection::Add