コード例 #1
0
 /// <summary>
 /// Initializes the drawing functionality
 /// </summary>
 public override void Initialize(NaviLayoutStyle layoutStyle)
 {
    switch (layoutStyle)
    {
       case NaviLayoutStyle.Office2007Blue:
          ColorTable = new NaviColorTableOff7Blue();
          break;
       case NaviLayoutStyle.Office2007Silver:
          ColorTable = new NaviColorTableOff7Silver();
          break;
       case NaviLayoutStyle.Office2007Black:
          ColorTable = new NaviColorTableOff7Black();
          break;
       default:
          break;
    }
 }
コード例 #2
0
        /// <summary>
        /// Initializes the drawing functionality
        /// </summary>
        public override void Initialize(NaviLayoutStyle layoutStyle)
        {
            switch (layoutStyle)
            {
            case NaviLayoutStyle.Office2007Blue:
                ColorTable = new NaviColorTableOff7Blue();
                break;

            case NaviLayoutStyle.Office2007Silver:
                ColorTable = new NaviColorTableOff7Silver();
                break;

            case NaviLayoutStyle.Office2007Black:
                ColorTable = new NaviColorTableOff7Black();
                break;

            default:
                break;
            }
        }