Exemple #1
0
 public ToolStripExtender(Object sender, ToolStrip toolstrip)
 {
     _parentClass = (FaceRender)sender;
     _toolStrip = toolstrip;
     _toolStrip.Renderer = _parentClass;
     this.AssignHandle(_toolStrip.Handle);
     _toolStrip.ItemAdded += new ToolStripItemEventHandler(ToolStrip_ItemAdded);
     _toolStrip.ItemRemoved += new ToolStripItemEventHandler(ToolStrip_ItemRemoved);
     addItems();
 }
Exemple #2
0
 public ComboBoxExtender(Object sender, ToolStrip toolStrip, ToolStripComboBox comboBox)
 {
     _parentClass = (FaceRender)sender;
     _toolStrip = toolStrip;
     _comboBox = comboBox;
     this.AssignHandle(_comboBox.ComboBox.Handle);
 }