GSI

'graphics'에 해당되는 글 1건

  1. 2007.12.05 [C#] Graphics 객체 사용하기

[C#] Graphics 객체 사용하기

C# 2007. 12. 5. 12:30 |

Graphics objGraphics = null;
objGraphics = this.CreateGraphics();
objGraphics.Clear(SystemColors.Control);
objGraphics.DrawRectangle(Pens.Blue,
    picShowPicture.Left - 1, picShowPicture.Top - 1,
    picShowPicture.Width + 1, picShowPicture.Height + 1);
objGraphics.Dispose();

> 사각형 테두리를 그린다.
Posted by gsi
: