Click here to Skip to main content
15,916,702 members
Home / Discussions / C#
   

C#

 
GeneralRe: Web browser events Pin
eggsovereasy18-Jan-08 7:40
eggsovereasy18-Jan-08 7:40 
GeneralRe: Web browser events Pin
Christian Graus18-Jan-08 9:02
protectorChristian Graus18-Jan-08 9:02 
GeneralRe: Web browser events Pin
ChrisKo18-Jan-08 7:44
ChrisKo18-Jan-08 7:44 
GeneralRe: Web browser events Pin
Christian Graus18-Jan-08 9:02
protectorChristian Graus18-Jan-08 9:02 
GeneralWeb Service Reference Pin
ss.mmm18-Jan-08 4:37
ss.mmm18-Jan-08 4:37 
Generalgraphicspath addstring problem Pin
Try18-Jan-08 2:43
Try18-Jan-08 2:43 
GeneralRe: graphicspath addstring problem Pin
Try18-Jan-08 3:17
Try18-Jan-08 3:17 
GeneralRe: graphicspath addstring problem Pin
Mike Hankey18-Jan-08 4:52
mveMike Hankey18-Jan-08 4:52 
I assume you are doing your drawing from either a somecontrol_Paint or OnPaint overriden method that gets drawn whenever the control gets invalidated. Therefore you can issue an control.Invalidate() and use replace the string with whatever.

off the top of my head

private void control_Paint(object sender, PaintEventArgs e)
{
string str = "sample";
if (!loading)
str = "Item";

graphicsPath.AddString(str, fontfamily, ..., ..., ...);
graphic.DrawPath(pn, graphicsPath);

graphicsPath.Dispose();
pn.Dispose();
}

then somewhere, relevent, in you code issue;

isLoading = false;
control.Invalidate();

Hope this helps,
Mike

Life is not measured by the number of breaths we take, but by the
moments that take our breath away. "George Carlin


Semper Fi
http://www.hq4thmarinescomm.com[^]



GeneralWrite program to demo CSMA/CD in the Ethernet by C#............ Pin
thucbv18-Jan-08 2:35
thucbv18-Jan-08 2:35 
GeneralRe: Write program to demo CSMA/CD in the Ethernet by C#............ Pin
thucbv18-Jan-08 2:37
thucbv18-Jan-08 2:37 
GeneralRe: Write program to demo CSMA/CD in the Ethernet by C#............ Pin
thucbv18-Jan-08 3:39
thucbv18-Jan-08 3:39 
GeneralRe: Write program to demo CSMA/CD in the Ethernet by C#............ Pin
Vasudevan Deepak Kumar18-Jan-08 4:44
Vasudevan Deepak Kumar18-Jan-08 4:44 
GeneralRe: Write program to demo CSMA/CD in the Ethernet by C#............ Pin
Pete O'Hanlon18-Jan-08 8:50
mvePete O'Hanlon18-Jan-08 8:50 
GeneralRe: Write program to demo CSMA/CD in the Ethernet by C#............ Pin
Mustafa Ismail Mustafa18-Jan-08 9:16
Mustafa Ismail Mustafa18-Jan-08 9:16 
GeneralRe: Write program to demo CSMA/CD in the Ethernet by C#............ Pin
Pete O'Hanlon18-Jan-08 9:32
mvePete O'Hanlon18-Jan-08 9:32 
GeneralRe: Write program to demo CSMA/CD in the Ethernet by C#............ Pin
pmarfleet18-Jan-08 5:03
pmarfleet18-Jan-08 5:03 
GeneralRule #2 Pin
DavidNohejl18-Jan-08 3:02
DavidNohejl18-Jan-08 3:02 
QuestionHOWTO: Null/Empty value for combobox? Pin
jdstuart18-Jan-08 2:30
jdstuart18-Jan-08 2:30 
GeneralRe: HOWTO: Null/Empty value for combobox? Pin
Not Active18-Jan-08 5:26
mentorNot Active18-Jan-08 5:26 
GeneralRe: HOWTO: Null/Empty value for combobox? Pin
Gareth H18-Jan-08 6:47
Gareth H18-Jan-08 6:47 
GeneralReports in C# Pin
Dewald18-Jan-08 1:10
Dewald18-Jan-08 1:10 
GeneralRe: Reports in C# Pin
Mustafa Ismail Mustafa18-Jan-08 1:51
Mustafa Ismail Mustafa18-Jan-08 1:51 
GeneralRe: Reports in C# Pin
blackjack215018-Jan-08 3:23
blackjack215018-Jan-08 3:23 
GeneralRe: Reports in C# Pin
Pete O'Hanlon18-Jan-08 8:52
mvePete O'Hanlon18-Jan-08 8:52 
GeneralRe: Reports in C# Pin
PIEBALDconsult18-Jan-08 3:09
mvePIEBALDconsult18-Jan-08 3:09 

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.