Example #1
0
        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);
        }
Example #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     genneralWork(Game.RandomKey());
 }