Exemple #1
0
        public void FromMillisecond(long millisecond)
        {
            TimeCode tc = new TimeCode();

            tc.FromMiliSecond(millisecond);

            if (this._showSecond)
            {
                if (_showFrame)
                {
                    this.Text = tc.ToHDString();
                }
                else
                {
                    this.Text = tc.ToHDString().Substring(0, 8);
                }
            }
            else
            {
                this.Text = tc.ToHDString().Substring(0, 5);
            }
        }