// Fields 

      #region Initialization Methods

      /// <summary>
      /// Initializes the drawing functionality
      /// </summary>
      public override void Initialize(NaviLayoutStyle layoutStyle)
      {
         switch (layoutStyle)
         {
            case NaviLayoutStyle.Office2003Blue:
               ColorTable = new NaviColorTableOff3Blue();
               break;
            case NaviLayoutStyle.Office2003Green:
               ColorTable = new NaviColorTableOff3Green();
               break;
            case NaviLayoutStyle.Office2003Silver:
               ColorTable = new NaviColorTableOff3Silver();
               break;
            default:
               break;
         }
      }
예제 #2
0
        // Fields

        #region Initialization Methods

        /// <summary>
        /// Initializes the drawing functionality
        /// </summary>
        public override void Initialize(NaviLayoutStyle layoutStyle)
        {
            switch (layoutStyle)
            {
            case NaviLayoutStyle.Office2003Blue:
                ColorTable = new NaviColorTableOff3Blue();
                break;

            case NaviLayoutStyle.Office2003Green:
                ColorTable = new NaviColorTableOff3Green();
                break;

            case NaviLayoutStyle.Office2003Silver:
                ColorTable = new NaviColorTableOff3Silver();
                break;

            default:
                break;
            }
        }