Ejemplo n.º 1
0
        void addToLine(string chars)
        {
            TweenLabel T = tweenLabels[tweenLabels.Count - 1];

            T.Text += chars;
            T.Text  = HttpUtility.UrlDecode(T.Text, Encoding.UTF8);
            T.Refresh();
        }
Ejemplo n.º 2
0
        private bool removeLastChar()
        {
            TweenLabel T = tweenLabels[tweenLabels.Count - 1];

            if (T.Text.Length == 0)
            {
                return(false);
            }
            T.Text = T.Text.Substring(0, T.Text.Length - 1);
            NumberOfDeletionsAllowed -= 1;
            T.Text = HttpUtility.UrlDecode(T.Text, Encoding.UTF8);
            T.Refresh();
            return(true);
        }