Example #1
0
 public override void SetDefault()
 {
     //Min = Mtblib.Tools.MtbTools.MISSINGVALUE;
     //Max = Mtblib.Tools.MtbTools.MISSINGVALUE;
     Label      = new AxLabel(Direction);
     Ticks      = new CateTick();
     HDisplay   = null;
     LDisplay   = null;
     Refes      = new Refe(Direction);
     GetCommand = DefaultCommand;
 }
Example #2
0
        public override object Clone()
        {
            CateTick tick = new CateTick();

            //tick.NMajor = this.NMajor;
            //tick.NMinor = this.NMinor;
            tick.Start      = this.Start;
            tick.Increament = this.Increament;
            tick.FontSize   = this.FontSize;
            tick.FontColor  = this.FontColor;
            tick.Bold       = this.Bold;
            tick.Italic     = this.Italic;
            tick.Underline  = this.Underline;
            tick.Angle      = this.Angle;
            tick.SetLabels(this.GetLabels());
            return(tick);
        }