コード例 #1
0
ファイル: Easy.cs プロジェクト: manev15/GameOfMemory_final
        public Easy()
        {
            InitializeComponent();
            DoubleBuffered = true;

            timer5          = new Timer();
            timer5.Interval = 1;
            timer5.Tick    += new EventHandler(timer5_Tick);
            timer5.Start();



            broevi = new int[99];
            for (int i = 0; i < 99; i++)
            {
                broevi[i] = i;
            }
            ballsDoc = new BallsDoc(broevi);
        }
コード例 #2
0
        public Form2()
        {
            InitializeComponent();
            //  bum = new SoundPlayer("boom.wav");

            DoubleBuffered = true;

            timer5          = new Timer();
            timer5.Interval = 1;
            timer5.Tick    += new EventHandler(timer5_Tick);
            timer5.Start();



            broevi = new int[99];
            for (int i = 0; i < 99; i++)
            {
                broevi[i] = i;
            }
            ballsDoc = new BallsDoc(broevi);
        }