Class ButtonImages
Images for tool-bar buttons and menu icons. Images should have the size 16*15 pixel. ButtonImageList contains images from the CADability Resource and are loaded upon the static construction of ButtonImages. To use your own Images for buttons in CADability menu items simply add more images to the static ButtonImageList. Some "MenuItem" entries in the MenuResource.xml have the attribute "IconNr". If IconNr is less than 10000, it is an index in the ButtonImageList (provided by CADability). If IconNr is greater or equal 10000 it is an index(-10000) to the images you have added to the ButtonImageList (starting with 0)
Inheritance
System.Object
ButtonImages
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CADability.Forms
Assembly: CADability.Forms.dll
Syntax
public class ButtonImages
Fields
ButtonImageList
ImageList for buttons and menu icons, contains images from the CADability resource and may be extended by the user
Declaration
public static ImageList ButtonImageList
Field Value
| Type | Description |
|---|---|
| System.Windows.Forms.ImageList |
OffsetUserImages
Declaration
public static int OffsetUserImages
Field Value
| Type | Description |
|---|---|
| System.Int32 |