示例#1
0
        /// <summary>
        /// Метод отрисовки т/с
        /// </summary>
        private void Draw()
        {
            Bitmap   bmp = new Bitmap(pictureBoxCars.Width, pictureBoxCars.Height);
            Graphics gr  = Graphics.FromImage(bmp);

            _car?.DrawTransport(gr);
            pictureBoxCars.Image = bmp;
        }