Exemple #1
0
        public Form1()
        {
            InitializeComponent();
            pGame               = new cGame();
            pictureBox1.Image   = new Bitmap(700, 700);
            pictureBox2.Image   = new Bitmap(136, 42);
            pictureBox6.Image   = imageList1.Images[0];
            pictureBox6.Visible = false;
            pictureBox8.Image   = imageList1.Images[1];
            pictureBox8.Visible = false;


            m_pRefreshTimer          = new Timer();
            m_pRefreshTimer.Interval = 100;
            m_pRefreshTimer.Tick    += m_pTimer_Tick;
            Sound.PlayLooping();
        }