Click here to Skip to main content
16,018,057 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert HDIB to Bitmap, so close and yet so far Pin
Stephane Rodriguez.17-Jul-03 3:23
Stephane Rodriguez.17-Jul-03 3:23 
GeneralRe: Convert HDIB to Bitmap, so close and yet so far Pin
J. Dunlap17-Jul-03 8:23
J. Dunlap17-Jul-03 8:23 
GeneralRe: Convert HDIB to Bitmap, so close and yet so far Pin
J. Dunlap17-Jul-03 8:22
J. Dunlap17-Jul-03 8:22 
GeneralRe: Convert HDIB to Bitmap, so close and yet so far Pin
Brendan Tregear17-Jul-03 16:01
Brendan Tregear17-Jul-03 16:01 
GeneralIs that possible Pin
Kerad16-Jul-03 22:18
Kerad16-Jul-03 22:18 
GeneralRe: Is that possible Pin
leppie17-Jul-03 7:23
leppie17-Jul-03 7:23 
GeneralGDI+ help Pin
r916-Jul-03 21:36
r916-Jul-03 21:36 
GeneralRe: GDI+ help Pin
r916-Jul-03 23:01
r916-Jul-03 23:01 
I need something like this:

System.Drawing.Graphics formGraphics = null;
System.Drawing.Pen myPen;

formGraphics = pictureBox1.CreateGraphics();
myPen = new System.Drawing.Pen(System.Drawing.Color.Black,1);

formGraphics.DrawLine(myPen, 5, 5, 105, 5);
formGraphics.DrawLine(myPen, 15, 35, 95, 35);
formGraphics.DrawLine(myPen, 5, 5, 15, 35);
formGraphics.DrawLine(myPen, 105, 5, 95, 35);

SolidBrush darkGrayBrush = new SolidBrush(Color.Gray);
Point point1 = new Point(5, 5);
Point point2 = new Point(105, 5);
Point point3 = new Point(15, 35);
Point point4 = new Point(95, 35);
Point point5 = new Point(5, 5);
Point point6 = new Point(15, 35);
Point point7 = new Point(105, 5);
Point point8 = new Point(95, 35);

Point[] curvePoints = new Point[]
{
point1,
point2,
point3,
point4,
point5,
point6,
point7,
point8
};
formGraphics.FillPolygon(darkGrayBrush, curvePoints);


but just raised, lower and clickable.

How?

GeneralRe: GDI+ help Pin
J. Dunlap17-Jul-03 8:07
J. Dunlap17-Jul-03 8:07 
GeneralRe: GDI+ help Pin
r917-Jul-03 22:55
r917-Jul-03 22:55 
GeneralRe: GDI+ help Pin
J. Dunlap18-Jul-03 11:38
J. Dunlap18-Jul-03 11:38 
GeneralRe: GDI+ help Pin
r918-Jul-03 12:22
r918-Jul-03 12:22 
GeneralFunction Keys Pin
Riaan van der Westhuizen16-Jul-03 20:40
Riaan van der Westhuizen16-Jul-03 20:40 
GeneralRe: Function Keys Pin
fool16-Jul-03 23:55
fool16-Jul-03 23:55 
GeneralRe: Function Keys Pin
Jim Stewart17-Jul-03 5:18
Jim Stewart17-Jul-03 5:18 
QuestionVertical Text? Pin
peenu16-Jul-03 18:59
peenu16-Jul-03 18:59 
AnswerRe: Vertical Text? Pin
fool17-Jul-03 0:01
fool17-Jul-03 0:01 
GeneralCalling an objects method by an attribute Pin
Ista16-Jul-03 16:45
Ista16-Jul-03 16:45 
GeneralRe: Calling an objects method by an attribute Pin
Anonymous16-Jul-03 16:46
Anonymous16-Jul-03 16:46 
GeneralRe: Calling an objects method by an attribute Pin
Jim Stewart17-Jul-03 5:36
Jim Stewart17-Jul-03 5:36 
GeneralGDI+ performance Pin
peterchen16-Jul-03 14:28
peterchen16-Jul-03 14:28 
GeneralRe: GDI+ performance Pin
Stephane Rodriguez.17-Jul-03 2:44
Stephane Rodriguez.17-Jul-03 2:44 
GeneralRe: GDI+ performance Pin
peterchen17-Jul-03 2:58
peterchen17-Jul-03 2:58 
GeneralRe: GDI+ performance Pin
Stephane Rodriguez.17-Jul-03 3:18
Stephane Rodriguez.17-Jul-03 3:18 
GeneralRe: GDI+ performance Pin
Russell Morris17-Jul-03 7:31
Russell Morris17-Jul-03 7:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.