Exemplo n.º 1
0
 protected void buildBackground(double verticalExtent = GlobalStatusSingleton.PATTERN_FULL_COVERAGE)
 {
     if (backgroundImg == null)
     {
         int w = (int)Width;
         int h = (int)Height;
         // don't switch w or h here.  we are building the correct image for the current w,h setting.
         backgroundImg = GlobalSingletonHelpers.buildBackground(backgroundPatternFilename, this.GetType().GetTypeInfo().Assembly, w, h, verticalExtent);
     }
 }