public static Bitmap GetStandardCommandIcon(BuiltInCommandType cmdType) { var resMgr = Properties.Resources.ResourceManager; var culture = Properties.Resources.Culture; return resMgr.GetObject("icon_" + cmdType.ToString().ToLower(), culture) as Bitmap; }
public static Bitmap GetStandardCommandIcon(BuiltInCommandType cmdType) { var resMgr = Properties.Resources.ResourceManager; var culture = Properties.Resources.Culture; return(resMgr.GetObject("icon_" + cmdType.ToString().ToLower(), culture) as Bitmap); }