Exemplo n.º 1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            tlp.Enabled = false;
            Stopwatch s = new Stopwatch();

            s.Start();
            LoadingForm lf = new LoadingForm();

            lf.Show();
            lf.Enabled = false;
            // lf.Refresh();
            game.Computer.TranspTable = TranspositionTable.Deserialize();
            s.Stop();
            if (s.ElapsedMilliseconds < 2000)
            {
                System.Threading.Thread.Sleep(2000);
            }
            lf.Close();
        }