Esempio n. 1
0
        private void button15_Click(object sender, EventArgs e)
        {
            this.rsPoint();
            this.timer1.Stop();
            this.timer2.Stop();
            this.timer3.Stop();
            this.timer4.Stop();

            this.panel2.Refresh();
            this.play = 4;
            hinh3     = new Car3d();
            hinh3.Draw(g);
        }
Esempio n. 2
0
        public Form1()
        {
            InitializeComponent();
            g     = this.panel2.CreateGraphics();
            hinh1 = new Hinh1(this.g);
            hinh2 = new Universe(this.g);
            hinh3 = new Car3d();
            hinh4 = new AirLane();

            this.chedo = 0;
            this.hinh  = 0;
            this.play  = 0;
            this.color = Color.Black;

            this.p1 = new Point(-1, -1);
            this.p2 = new Point(-1, -1);
            this.p3 = new Point(-1, -1);
        }