以下哪些方式能获得Graphics对象obj?

大学网课 已帮助 人

以下哪些方式能获得Graphics对象obj?

A.Graphics obj = 窗体或控件名.CreateGraphics();

B.private void 窗体或控件名_Paint(object sender, PaintEventArgs e){ Graphics obj = e. Graphics; }

C.Bitmap map = new Bitmap(宽,高); Graphics obj = Graphics.FromImage(map); obj.DrawImage(map, x坐标, y坐标);

D.Graphics obj = new Graphics(宽,高);

以下哪些方式能获得Graphics对象obj?

热搜:丕平献土可以看出教皇获得土地的方式是什么