コード例 #1
0
ファイル: Icons.cs プロジェクト: takhlaq/POLUtils
        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));
        }
コード例 #2
0
ファイル: POL.cs プロジェクト: YouRanLongYing/POLUtils
 public static bool IsAppInstalled(string ID, Region Region)
 {
     return(POL.GetApplicationPath(ID, Region) != null);
 }
コード例 #3
0
ファイル: POL.cs プロジェクト: YouRanLongYing/POLUtils
 public static string GetApplicationPath(string ID)
 {
     return(POL.GetApplicationPath(ID, POL.SelectedRegion_));
 }