コード例 #1
0
        static DataGridControlBackgroundBrushes()
        {
            DataGridControlBackgroundBrushesResources resources = new DataGridControlBackgroundBrushesResources();

            s_auroraBlue      = ( Brush )resources["auroraBlueBrush"];
            s_auroraPink      = ( Brush )resources["auroraPinkBrush"];
            s_auroraRed       = ( Brush )resources["auroraRedBrush"];
            s_elementalBlack  = ( Brush )resources["elementalBlackBrush"];
            s_elementalBlue   = ( Brush )resources["elementalBlueBrush"];
            s_elementalSilver = ( Brush )resources["elementalSilverBrush"];
            s_horizonBlue     = ( Brush )resources["horizonBlueBrush"];
            s_horizonOrange   = ( Brush )resources["horizonOrangeBrush"];
            s_nightFog        = ( Brush )resources["nightFogBrush"];
            s_sunrise         = ( Brush )resources["sunriseBrush"];
            s_sunriseBlue     = ( Brush )resources["sunriseBlueBrush"];
            s_sunBlack        = ( Brush )resources["sunBlackBrush"];
            s_sunBlue         = ( Brush )resources["sunBlueBrush"];
            s_sunOrange       = ( Brush )resources["sunOrangeBrush"];
        }
    static DataGridControlBackgroundBrushes()
    {
      DataGridControlBackgroundBrushesResources resources = new DataGridControlBackgroundBrushesResources();

      s_auroraBlue = ( Brush )resources[ "auroraBlueBrush" ];
      s_auroraPink = ( Brush )resources[ "auroraPinkBrush" ];
      s_auroraRed = ( Brush )resources[ "auroraRedBrush" ];
      s_elementalBlack = ( Brush )resources[ "elementalBlackBrush" ];
      s_elementalBlue = ( Brush )resources[ "elementalBlueBrush" ];
      s_elementalSilver = ( Brush )resources[ "elementalSilverBrush" ];
      s_horizonBlue = ( Brush )resources[ "horizonBlueBrush" ];
      s_horizonOrange = ( Brush )resources[ "horizonOrangeBrush" ];
      s_nightFog = ( Brush )resources[ "nightFogBrush" ];
      s_sunrise = ( Brush )resources[ "sunriseBrush" ];
      s_sunriseBlue = ( Brush )resources[ "sunriseBlueBrush" ];
      s_sunBlack = ( Brush )resources[ "sunBlackBrush" ];
      s_sunBlue = ( Brush )resources[ "sunBlueBrush" ];
      s_sunOrange = ( Brush )resources[ "sunOrangeBrush" ];
    }