Example #1
0
        private static Icon GetPOLConfigIcon(ushort ResourceID)
        {
            string POLPath = POL.GetApplicationPath("1000");

            if (POLPath == null)
            {
                return(null);
            }
            return(Icons.GetIcon(Path.Combine(POLPath, Path.Combine("polcfg", "polcfg.exe")), ResourceID));
        }
Example #2
0
 private static Icon GetShell32Icon(ushort ResourceID)
 {
     return(Icons.GetIcon("shell32.dll", ResourceID));
 }