예제 #1
0
        private void KeyboardExecute(string key)
        {
            if (key == "-")
            {
                if (TelephoneNumber.Length > 0)
                {
                    TelephoneNumber = TelephoneNumber.Remove(TelephoneNumber.Length - 1);
                }

                return;
            }
            if (key.Length > 0)
            {
                TelephoneNumber += key;
            }
        }