SetImageIndex() public method

public SetImageIndex ( Component component, int indexValue ) : void
component System.ComponentModel.Component
indexValue int
return void
示例#1
0
文件: Menu.cs 项目: speecyy/xrefresh
 private void EnableExtension(MenuItem item)
 {
     menuExtender.SetExtEnable(item, true);
     menuExtender.SetImageIndex(item, -1);
     item.OwnerDraw = true;
 }