Click here to Skip to main content
15,905,563 members
Home / Discussions / C#
   

C#

 
QuestionUsing ifdef DEBUG Pin
MrEyes15-Jun-06 5:35
MrEyes15-Jun-06 5:35 
AnswerRe: Using ifdef DEBUG Pin
Josh Smith15-Jun-06 5:37
Josh Smith15-Jun-06 5:37 
GeneralRe: Using ifdef DEBUG [modified] Pin
MrEyes15-Jun-06 5:39
MrEyes15-Jun-06 5:39 
GeneralRe: Using ifdef DEBUG Pin
Alexander Wiseman15-Jun-06 5:41
Alexander Wiseman15-Jun-06 5:41 
GeneralRe: Using ifdef DEBUG Pin
Josh Smith15-Jun-06 5:42
Josh Smith15-Jun-06 5:42 
AnswerRe: Using ifdef DEBUG Pin
Alexander Wiseman15-Jun-06 5:39
Alexander Wiseman15-Jun-06 5:39 
QuestionDetect Dialup Connection (without WebRequest) Pin
Ariston Darmayuda15-Jun-06 5:01
Ariston Darmayuda15-Jun-06 5:01 
Questionhow to update graphic Pin
donkaiser15-Jun-06 4:52
donkaiser15-Jun-06 4:52 
This is my code for drawing a set of 8 circles:
private void tbInputTest_Paint(object sender, PaintEventArgs pe)
{
//Get the Graphics object
g = pe.Graphics;

//Create an array of rectangles
Circles = new RectangleF[8];

for (int i = 0; i < 8; i++)
{
Circles[i] = new RectangleF(310, 30+(i * 40), 30, 30);
g.FillEllipse(Brushes.White, Circles[i]);
g.DrawEllipse(Pens.Black, Circles[i]);
}
}

I have a button that when pressed will update the fill color of one of the circle. how i do that? I mean how to propagate the graphic handle toward the whole program. by the way the circles appear on a tab control which make thing not that easy.

Donkaiser
AnswerRe: how to update graphic Pin
Guffa15-Jun-06 5:14
Guffa15-Jun-06 5:14 
GeneralRe: how to update graphic Pin
donkaiser15-Jun-06 5:29
donkaiser15-Jun-06 5:29 
GeneralRe: how to update graphic Pin
Josh Smith15-Jun-06 5:31
Josh Smith15-Jun-06 5:31 
GeneralRe: how to update graphic Pin
donkaiser15-Jun-06 5:51
donkaiser15-Jun-06 5:51 
GeneralRe: how to update graphic Pin
Josh Smith15-Jun-06 5:55
Josh Smith15-Jun-06 5:55 
AnswerRe: how to update graphic Pin
Guffa15-Jun-06 6:20
Guffa15-Jun-06 6:20 
QuestionExport Excel without Excel Pin
Seb.2615-Jun-06 4:11
Seb.2615-Jun-06 4:11 
AnswerRe: Export Excel without Excel Pin
Dan Neely15-Jun-06 5:22
Dan Neely15-Jun-06 5:22 
GeneralRe: Export Excel without Excel Pin
Seb.2615-Jun-06 5:37
Seb.2615-Jun-06 5:37 
AnswerRe: Export Excel without Excel Pin
Josh Smith15-Jun-06 5:35
Josh Smith15-Jun-06 5:35 
QuestionResource Management Issue [modified] Pin
Archambault15-Jun-06 4:03
Archambault15-Jun-06 4:03 
QuestionUniversal Time??? Pin
hung_ngole15-Jun-06 3:51
hung_ngole15-Jun-06 3:51 
AnswerRe: Universal Time??? Pin
Dan Neely15-Jun-06 4:04
Dan Neely15-Jun-06 4:04 
Questionquestion Pin
kjosh15-Jun-06 3:49
kjosh15-Jun-06 3:49 
AnswerRe: question Pin
Drew McGhie15-Jun-06 4:49
Drew McGhie15-Jun-06 4:49 
QuestionHow to get a pop-up window in c#.net and pass values to it from DataList parameters Pin
tedhill1315-Jun-06 3:27
tedhill1315-Jun-06 3:27 
AnswerRe: How to get a pop-up window in c#.net and pass values to it from DataList parameters Pin
Elina Blank15-Jun-06 4:01
sitebuilderElina Blank15-Jun-06 4:01 

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.