示例#1
0
        //-[Constructors]------------------------------------------------------------------------------------------

        /// <summary>Constructs a clock using the default DigitalClock.bfnt</summary>
        /// <param name="LeftPos"></param>
        /// <param name="TopPos"></param>
        public Clock(int LeftPos, int TopPos) : this(BasicFont.LoadFromResource(Properties.Resources.DigitalClock), LeftPos, TopPos)
        {
        }
示例#2
0
 /// <summary>Constructs a clock</summary>
 /// <param name="ClockFont">A font that must contain numbers from 0-9, a colon (':'), and the letters 'A', 'P', and 'M'</param>
 /// <param name="LeftPos"></param>
 /// <param name="TopPos"></param>
 public Clock(BasicFont ClockFont, int LeftPos, int TopPos)
 {
     this.ClockFont = ClockFont;
     this.LeftPos   = LeftPos;
     this.TopPos    = TopPos;
 }