Beispiel #1
0
        internal MeasureShowMode(Measure AMeasure, string ACaption, MeasureShowModeType AMode,
                                 string ABitmapURL)
            : this(AMeasure)
        {
            Caption = ACaption;
            Mode    = AMode;

            BitmapURL = ABitmapURL;
        }
 /// <summary>
 ///     Finds the measure show mode.
 /// </summary>
 /// <param name="type">A diaplay mode type</param>
 /// <returns></returns>
 public MeasureShowMode Find(MeasureShowModeType type)
 {
     foreach (var m in this)
     {
         if (m.Mode == type)
         {
             return(m);
         }
     }
     return(null);
 }