Программирование - это просто
Advertisement
arrow C# arrow C# arrow C#. 2. (Graphics, Paint).
06.02.2023 .
1:
C#
Delphi
Web-
Excel-
.
C#. 2. (Graphics, Paint). E-mail
megabax   
03.09.2011 .
New Page 2

C#. 2.  (Graphics, Paint).

(, , ), , , System.Drawing. Graphics,   . :

    C#.  2.      (Graphics, Paint).

, , "" Paint :

    C#.  2.      (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();

        }

 

:

 

    C#.  2.      (Graphics, Paint).

 


, ,    "Microsoft Visual Studio 2010", Microsoft


 

 

( 06.11.2011 . )
 
« .   . »
 
© 2023 Программирование - это просто
Joomla! - , GNU/GPL.
© 2005-2008 Joom.Ru - Joomla!
Design by Mamboteam.com | Powered by Mambobanner.de
  .