Exemple #1
0
        private void CmShow(object sender, RoutedEventArgs e)
        {
            if (Boxes.Count == 0)
            {
                return;
            }

            if (CurentBox >= Boxes.Count)
            {
                CurentBox = 0;
            }

            Pole.Box = new TBox(Boxes[CurentBox]);
            CurentBox++;

            textBox.Text = Pole.Draw();
            names        = textBox.Text;
        }
        private void cmShow(object sender, RoutedEventArgs e)
        {
            if (Boxes.Count == 0)
            {
                return;
            }

            if (CurentBox < Boxes.Count)
            {
            }
            else
            {
                CurentBox = 0;
            }

            Pole.Box = new TBox(Boxes[CurentBox]);
            CurentBox++;

            Pole.Draw();
        }