Exemplo n.º 1
0
 private void ClearButton_Click(object sender, RoutedEventArgs e)
 {
     stringtoRepeat = "";
     str.Clear();
     MoveLetters.SetIntArrToNum(Arr, 1);
     counter = 10;
 }
Exemplo n.º 2
0
 public MainPage()
 {
     this.InitializeComponent();
     dtimer.Tick    += Dtimer_Tick;
     dtimer.Interval = TimeSpan.FromMilliseconds(1);
     _ = new Board(rectangle, inside, row, col, solidBlack, solidBorderBlack, sizeOfRect);
     dtimer.Start();
     MoveLetters.SetIntArrToNum(Arr, 0);
     InputStringToDisplay.Focus(FocusState.Pointer);
 }
Exemplo n.º 3
0
        /// <summary>
        /// sends black color of button to text color
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>



        private void Repeat_Checked(object sender, RoutedEventArgs e)
        {
            str.Clear();
            stringtoRepeat = "";
            if (!MoveLetters.CheckForZero(Arr))
            {
                MoveLetters.SetIntArrToNum(Arr, 1);
            }
            counter = 10;
            /*MoveLetters.SetIntArrToNum(Arr, 0);*/
        }
Exemplo n.º 4
0
 private void Clear()
 {
     stringtoRepeat = "";
     str.Clear();
     MoveLetters.SetIntArrToNum(Arr, 0);
 }