private void TheLongest_Load(object sender, EventArgs e) { word = Game.RandomKey(); Random random = new Random(); int k = random.Next(3, word.Length); lengFrist = k; wordFirst = word.Substring(0, k); genneralWork(wordFirst); }
private void Form1_Load(object sender, EventArgs e) { genneralWork(Game.RandomKey()); }