コード例 #1
0
 static public Image directionToImage(int direction)
 {
     if (direction == 0)
     {
         return(ResourcesLoader.LoadImage(ResourcesLoader.ImageID.DirectionLeftToRight));
     }
     else if (direction == 1)
     {
         return(ResourcesLoader.LoadImage(ResourcesLoader.ImageID.DirectionRightToLeft));
     }
     else
     {
         return(ResourcesLoader.LoadImage(ResourcesLoader.ImageID.Empty));
     }
 }
コード例 #2
0
 static DataGridViewProgressCell()
 {
     emptyImage = ResourcesLoader.LoadImage(ResourcesLoader.ImageID.Empty);
 }