Esempio n. 1
0
        private void Enter_Click(object sender, RoutedEventArgs e)
        {
            obj.LukyNumberGenerate();
            var inputNumber = Input.Text;

            if (Validator(inputNumber))
            {
                OutPut.Document.Blocks.Clear();
                Info1.Clear();
                Print(inputNumber, obj, Chance);
            }
            else
            {
                OutPut.Document.Blocks.Clear();
                Info1.Text = "Sorry, but you entered a number that does not match the required parameters.";
            }
        }
Esempio n. 2
0
 private void Clean_Click(object sender, RoutedEventArgs e)
 {
     OutPut.Document.Blocks.Clear();
     Input.Clear();
     Info1.Clear();
 }