C#. 2. (Graphics, Paint). |
|
|
megabax
|
03.09.2011 . |
New Page 2
C#. 2.
(Graphics, Paint).
(, ,
), , , System.Drawing.
Graphics,
.
:

, ,
"" Paint :

Pen
Grpahics,
:
private void
PaintForm_Paint(object sender,
PaintEventArgs e)
{
Pen pen =
new Pen(Color.Red,5);
e.Graphics.DrawLine(pen, 11, 22, 100, 200);
pen.Dispose();
} |
, , :
private void
PaintForm_Paint(object sender,
PaintEventArgs e)
{
Pen pen =
new Pen(Color.Red,5);
e.Graphics.DrawLine(pen, 11, 22, 100, 200);
e.Graphics.DrawEllipse(pen, 40, 50, 70, 90);
pen.Dispose();
} |
:

, ,
"Microsoft Visual Studio 2010",
Microsoft.
|
( 06.11.2011 . )
|