Click here to Skip to main content
15,922,015 members
Home / Discussions / C#
   

C#

 
GeneralRe: preventing header in xml file Pin
Dustin Metzgar15-Jun-06 8:28
Dustin Metzgar15-Jun-06 8:28 
GeneralRe: preventing header in xml file Pin
Yustme15-Jun-06 8:43
Yustme15-Jun-06 8:43 
GeneralRe: preventing header in xml file Pin
Dustin Metzgar15-Jun-06 8:59
Dustin Metzgar15-Jun-06 8:59 
GeneralRe: preventing header in xml file Pin
Yustme15-Jun-06 9:17
Yustme15-Jun-06 9:17 
QuestionEnumerating All computers on the Lan Pin
wasife15-Jun-06 5:40
wasife15-Jun-06 5:40 
AnswerRe: Enumerating All computers on the Lan Pin
Josh Smith15-Jun-06 5:47
Josh Smith15-Jun-06 5:47 
AnswerRe: Enumerating All computers on the Lan Pin
Alexander Wiseman15-Jun-06 6:11
Alexander Wiseman15-Jun-06 6:11 
GeneralRe: Enumerating All computers on the Lan Pin
Josh Smith15-Jun-06 7:58
Josh Smith15-Jun-06 7:58 
GeneralRe: Enumerating All computers on the Lan Pin
Alexander Wiseman15-Jun-06 8:50
Alexander Wiseman15-Jun-06 8:50 
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 

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.