public ThumbnailButton AddButton(System.Drawing.Icon icon, string tooltip)
        {
            ThumbnailButton btn = new ThumbnailButton(this, icon, tooltip);

            buttonList.Add(btn);
            return(btn);
        }
 public void RemoveButton(ThumbnailButton btn)
 {
     btn.RemoveButton();
     buttonList.Remove(btn);
 }
 public ThumbnailButton AddButton(System.Drawing.Icon icon, string tooltip)
 {
     ThumbnailButton btn = new ThumbnailButton(this, icon, tooltip);
     buttonList.Add(btn);
     return btn;
 }
Exemple #4
0
 public void RemoveButton(ThumbnailButton btn)
 {
     buttonManager.RemoveButton(btn);
 }
Exemple #5
0
 public void RemoveButton(ThumbnailButton btn)
 {
     buttonManager.RemoveButton(btn);
 }
 public void RemoveButton(ThumbnailButton btn)
 {
     btn.RemoveButton();
     buttonList.Remove(btn);
 }