Exemplo n.º 1
0
 public IIconContainer AddIconContainer(string filename, int x, int y)
 {
     IconContainer iconContainer = new IconContainer(this);
     iconContainer.Load(filename);
     iconContainer.Left = x;
     iconContainer.Top = y;
     AddElement(iconContainer);
     return iconContainer;
 }
Exemplo n.º 2
0
 public IIconContainer AddIconContainer(Icon icon, int x, int y)
 {
     IconContainer iconContainer = new IconContainer(this);
     iconContainer.Icon = icon;
     iconContainer.Left = x;
     iconContainer.Top = y;
     AddElement(iconContainer);
     return iconContainer;
 }