Example #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;
 }
Example #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;
 }