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

C#

 
QuestionDisabled some items in ListView Pin
fjlv200519-Mar-06 16:51
fjlv200519-Mar-06 16:51 
AnswerRe: Disabled some items in ListView Pin
Ahmad Mahmoud [candseeme]20-Mar-06 1:21
Ahmad Mahmoud [candseeme]20-Mar-06 1:21 
GeneralRe: Disabled some items in ListView Pin
fjlv200520-Mar-06 22:49
fjlv200520-Mar-06 22:49 
AnswerRe: Disabled some items in ListView Pin
mav.northwind20-Mar-06 5:44
mav.northwind20-Mar-06 5:44 
GeneralRe: Disabled some items in ListView Pin
fjlv200520-Mar-06 23:02
fjlv200520-Mar-06 23:02 
Questionc# Windows Service doesn't start automatically.. Pin
WhatAboutNet19-Mar-06 15:53
WhatAboutNet19-Mar-06 15:53 
AnswerRe: c# Windows Service doesn't start automatically.. Pin
leppie19-Mar-06 18:25
leppie19-Mar-06 18:25 
QuestionForm refreshing every millisecond Pin
htgjyfywejuytkl19-Mar-06 14:17
htgjyfywejuytkl19-Mar-06 14:17 
I have a main form that opens up several other forms with button presses. Most of these forms work fine, but one of them seems to be running the OnPaint event every millisecond for some reason (as a result the contents are flickering). The form uses standard settings given to it by Visual Studio when a new form is added to the project, with only the following code added by me:
protected override void OnPaint(System.Windows.Forms.PaintEventArgs pe)<br />
	  {<br />
		  base.OnPaint(pe);<br />
		  System.Drawing.Graphics g=pe.Graphics;<br />
		  System.Drawing.Rectangle client_area=this.ClientRectangle;<br />
		  int i;<br />
		  RectangleF cRect = this.ClientRectangle;<br />
		  PointF cPoint = new PointF(0, 0);<br />
		  for(i=9; i<72; i+=4)<br />
		  {<br />
			Font nfont = new Font("Arial", i);<br />
			this.Font = nfont;<br />
			string s = this.Font.Name+" "+this.Font.Size;<br />
			using(nfont)<br />
			{<br />
				g.DrawString(s, nfont, Brushes.Black, cPoint);<br />
			}<br />
			cPoint.Y += i;<br />
		  }<br />
	  }

AnswerRe: Form refreshing every millisecond Pin
htgjyfywejuytkl19-Mar-06 17:13
htgjyfywejuytkl19-Mar-06 17:13 
QuestionFind out what a webpage is about thru programming Pin
redbrad019-Mar-06 12:01
redbrad019-Mar-06 12:01 
AnswerRe: Find out what a webpage is about thru programming Pin
Judah Gabriel Himango19-Mar-06 12:40
sponsorJudah Gabriel Himango19-Mar-06 12:40 
QuestionHow to add image to RTF file ??? Pin
amin_behzadi19-Mar-06 11:03
professionalamin_behzadi19-Mar-06 11:03 
QuestionI need a recomendation for a good C# book Pin
Iftahh19-Mar-06 8:48
Iftahh19-Mar-06 8:48 
AnswerRe: I need a recomendation for a good C# book Pin
Kevin McFarlane19-Mar-06 9:23
Kevin McFarlane19-Mar-06 9:23 
AnswerRe: I need a recomendation for a good C# book Pin
mcljava19-Mar-06 17:08
mcljava19-Mar-06 17:08 
QuestionFloating Panes Pin
deepscyberpulse19-Mar-06 8:01
deepscyberpulse19-Mar-06 8:01 
AnswerRe: Floating Panes Pin
CWIZO19-Mar-06 9:41
CWIZO19-Mar-06 9:41 
Questionhow to get full packet information Pin
osaghaab19-Mar-06 7:22
osaghaab19-Mar-06 7:22 
AnswerRe: how to get full packet information Pin
CWIZO19-Mar-06 9:42
CWIZO19-Mar-06 9:42 
GeneralRe: how to get full packet information Pin
osaghaab19-Mar-06 22:02
osaghaab19-Mar-06 22:02 
QuestionFirewall Question !!! Pin
snouto19-Mar-06 7:16
snouto19-Mar-06 7:16 
AnswerRe: Firewall Question !!! Pin
Dave Kreskowiak19-Mar-06 12:47
mveDave Kreskowiak19-Mar-06 12:47 
Questionmainframe Pin
jbu2019-Mar-06 6:14
jbu2019-Mar-06 6:14 
AnswerRe: mainframe Pin
Dave Kreskowiak19-Mar-06 7:15
mveDave Kreskowiak19-Mar-06 7:15 
GeneralRe: mainframe Pin
jbu2021-Mar-06 0:23
jbu2021-Mar-06 0:23 

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.