Click here to Skip to main content
15,846,726 members
Home / Discussions / C#
   

C#

 
GeneralRe: Activator Class Pin
John Fisher18-Jul-03 5:32
John Fisher18-Jul-03 5:32 
GeneralDataAdapter and StoredProcedure Pin
totig18-Jul-03 2:18
totig18-Jul-03 2:18 
GeneralRe: DataAdapter and StoredProcedure Pin
Kant19-Jul-03 17:42
Kant19-Jul-03 17:42 
GeneralText Pin
totig18-Jul-03 1:03
totig18-Jul-03 1:03 
GeneralRe: Text Pin
A.Wegierski18-Jul-03 3:07
A.Wegierski18-Jul-03 3:07 
QuestionHow can i make a tabpage unvisible in tabcontrol? Pin
Xytme18-Jul-03 0:48
Xytme18-Jul-03 0:48 
AnswerRe: How can i make a tabpage unvisible in tabcontrol? Pin
A.Wegierski18-Jul-03 3:03
A.Wegierski18-Jul-03 3:03 
QuestionFillPolygon problem? Pin
r917-Jul-03 23:58
r917-Jul-03 23:58 
I have a figure that I want to fill with black color, but it don't work!!

private void button11_Click(object sender, System.EventArgs e)
{

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

formGraphics.DrawLine(myPen, 4, 4, 50, 4);
formGraphics.DrawLine(myPen, 4, 4, 4, 100);
formGraphics.DrawLine(myPen, 50, 4, 50, 100);
formGraphics.DrawLine(myPen, 4, 100, 27, 120);
formGraphics.DrawLine(myPen, 50, 100, 27, 120);

SolidBrush Brush = new SolidBrush(Color.Black);
Point point1 = new Point(4, 4);
Point point2 = new Point(50, 4);
Point point3 = new Point(4, 4);
Point point4 = new Point(4, 100);
Point point5 = new Point(50, 4);
Point point6 = new Point(50, 100);
Point point7 = new Point(4, 100);
Point point8 = new Point(27, 120);
Point point9 = new Point(50, 100);
Point point10 = new Point(27, 120);

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

myPen.Dispose();
formGraphics.Dispose();

}


Any idea?
GeneralInitializing a color poperty in c# Pin
mrpink17-Jul-03 23:40
mrpink17-Jul-03 23:40 
GeneralRe: Initializing a color poperty in c# Pin
Mazdak18-Jul-03 3:25
Mazdak18-Jul-03 3:25 
GeneralRe: Initializing a color poperty in c# Pin
mrpink18-Jul-03 6:41
mrpink18-Jul-03 6:41 
GeneralRe: Initializing a color poperty in c# Pin
J. Dunlap18-Jul-03 9:55
J. Dunlap18-Jul-03 9:55 
GeneralLoop though XML Pin
eggie517-Jul-03 20:40
eggie517-Jul-03 20:40 
GeneralRe: Loop though XML Pin
John Fisher18-Jul-03 5:32
John Fisher18-Jul-03 5:32 
GeneralRe: Loop though XML Pin
Ista21-Jul-03 18:19
Ista21-Jul-03 18:19 
GeneralRe: Loop though XML Pin
eggie521-Jul-03 18:23
eggie521-Jul-03 18:23 
GeneralRe: Loop though XML Pin
Ista22-Jul-03 4:15
Ista22-Jul-03 4:15 
GeneralMemory Management Pin
Gaurika Wijeratne17-Jul-03 20:39
Gaurika Wijeratne17-Jul-03 20:39 
GeneralRe: Memory Management Pin
apferreira18-Jul-03 6:10
apferreira18-Jul-03 6:10 
GeneralRe: Memory Management Pin
Gaurika Wijeratne18-Jul-03 8:22
Gaurika Wijeratne18-Jul-03 8:22 
GeneralRe: Memory Management Pin
apferreira19-Jul-03 3:55
apferreira19-Jul-03 3:55 
Generalsystray question Pin
KETUINHA17-Jul-03 19:01
KETUINHA17-Jul-03 19:01 
GeneralRe: systray question Pin
Mazdak18-Jul-03 3:19
Mazdak18-Jul-03 3:19 
QuestionHow to Create a new Access database using C#? Pin
Xytme17-Jul-03 18:41
Xytme17-Jul-03 18:41 
AnswerRe: How to Create a new Access database using C#? Pin
Kastro17-Jul-03 19:10
Kastro17-Jul-03 19:10 

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.