void btnRandomSeed_Clicked(XGControl sender) { txtSeed.Text = new Random().Next(500, 9999).ToString(); }