Example #1
0
        public 绘图器 创建绘图器()
        {
            //Console.WriteLine(System.AppDomain.CurrentDomain.BaseDirectory);
            var _绘图器 = new 绘图器(this.CreateGraphics());

            return(_绘图器);
        }
Example #2
0
        public 绘图器 创建绘图器()
        {
            Graphics gs   = Graphics.FromImage(背景图像);
            var      _绘图器 = new 绘图器(gs);

            return(_绘图器);
        }
Example #3
0
        private void OnPaint(object sender, PaintEventArgs e)
        {
            绘图器 x = 创建绘图器();

            绘图(x);
            e.Graphics.DrawImage(背景图像, new Point(0, 0));
            //Console.WriteLine(背景图像.Width);
            //Console.WriteLine(背景图像.Height);
        }
Example #4
0
 public virtual void 绘图(绘图器 HTQ)
 {
 }
Example #5
0
        private void OnPaint(object sender, PaintEventArgs e)
        {
            绘图器 x = new 绘图器(e.Graphics);

            绘图(x);
        }