예제 #1
0
 public DPattern(DPatternType patternType, string title, Bitmap image, int color)
 {
     PatternType = patternType;
     Title = title;
     Image = image;
     Color = color;
 }
예제 #2
0
 private void StartDownloadingPatternsUntilFillup(DPatternType patternType)
 {
     if (patternType == DPatternType.Color)
     {
         if (!isImageThreadRunning)
         {
             Thread thread = new Thread(new ThreadStart(downloadingPatterns));
             thread.Start();
         }
     }
     else
     {
         if (!isColorThreadRunning)
         {
             Thread thread = new Thread(new ThreadStart(downloadingColors));
             thread.Start();
         }
     }
 }
예제 #3
0
 private void StartDownloadingPatternsUntilFillup(DPatternType patternType)
 {
     if (patternType == DPatternType.Image)
     {
         if (!isImageThreadRunning)
             downloadingPatterns();
     }
     else
     {
         if (!isColorThreadRunning)
             downloadingColors();
     }
 }
예제 #4
0
 public bool IsCacheFill(DPatternType patternType)
 {
     return true;
 }