OSDN Git Service

AppliStation-GUI,ソースコードへのコメント付記
authorttp <ttp@users.sourceforge.jp>
Wed, 3 Mar 2010 13:48:51 +0000 (22:48 +0900)
committerttp <ttp@users.sourceforge.jp>
Wed, 3 Mar 2010 13:48:51 +0000 (22:48 +0900)
AppliStation/AppliStation.Util/NativeMethods.cs

index 31a2f92..c4014af 100644 (file)
@@ -420,6 +420,12 @@ namespace AppliStation.Util
 #endif\r
                }\r
                \r
+               /// <summary>\r
+               /// シェルのソトックアイコンのハンドラを取得する。\r
+               /// </summary>\r
+               /// <param name="siid">ストックID</param>\r
+               /// <param name="isSmall">アイコンサイズは小さいのであればtrueを指定</param>\r
+               /// <returns>アイコンのハンドラ。存在しない場合、null</returns>\r
                private static IntPtr SHGetStockIconHandle(uint siid, bool isSmall)\r
                {\r
 #if USE_VISTA_EFFECTS\r
@@ -440,6 +446,11 @@ namespace AppliStation.Util
 #endif\r
                }\r
                \r
+               /// <summary>\r
+               /// ユーザ昇格が必要か設定し、設定必要なときシールドアイコンを表示する。\r
+               /// </summary>\r
+               /// <param name="label">対象のリンクラベル</param>\r
+               /// <param name="required">ユーザ昇格が必要か否か、すなわちシールドアイコンを表示するか</param>           \r
                public static void LinkLabel_SetElevationRequiredState(LinkLabel label, bool required)\r
                {\r
                        if (required) {\r