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."; } }
private void Clean_Click(object sender, RoutedEventArgs e) { OutPut.Document.Blocks.Clear(); Input.Clear(); Info1.Clear(); }