Click here to Skip to main content
15,887,998 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating Screen Saver in C# Pin
Luc Pattyn22-Jul-07 2:31
sitebuilderLuc Pattyn22-Jul-07 2:31 
QuestionGridview with 2 lines Pin
dabuskol22-Jul-07 1:04
dabuskol22-Jul-07 1:04 
AnswerRe: Gridview with 2 lines Pin
Arun.Immanuel22-Jul-07 1:28
Arun.Immanuel22-Jul-07 1:28 
GeneralRe: Gridview with 2 lines Pin
dabuskol22-Jul-07 1:33
dabuskol22-Jul-07 1:33 
GeneralRe: Gridview with 2 lines Pin
Arun.Immanuel22-Jul-07 2:21
Arun.Immanuel22-Jul-07 2:21 
Questionassembly: AssemblyKeyFile not supported in VS2005? Pin
George_George22-Jul-07 0:50
George_George22-Jul-07 0:50 
QuestionRedraw in a pictureBox Pin
eskape1922-Jul-07 0:42
eskape1922-Jul-07 0:42 
AnswerRe: Redraw in a pictureBox Pin
Luc Pattyn22-Jul-07 1:33
sitebuilderLuc Pattyn22-Jul-07 1:33 
Hi,

I cant read all of your source, since it is losing its < and > signs to HTML interpretation.

Some ideas:
- the picturebox by itself will repaint the image it holds whenever needed; this
may be slow if the original image is very large (that's showing a huge file, in whatever
size the PB has).
- your paint handler allows you to draw on top of that image; it should
not throw exceptions (you have one), who is going to catch those ?
- your paint handler does not need to create a Graphics object, there is one available
in its PaintEventArgs. (and IF you create one, which takes time, you should also dispose it).

Hope this helps.


QuestionDynamic textcolor change in RichTextBox in visual C# Pin
Blekk21-Jul-07 23:57
Blekk21-Jul-07 23:57 
AnswerRe: Dynamic textcolor change in RichTextBox in visual C# Pin
Luc Pattyn22-Jul-07 0:47
sitebuilderLuc Pattyn22-Jul-07 0:47 
GeneralRe: Dynamic textcolor change in RichTextBox in visual C# Pin
Blekk22-Jul-07 11:52
Blekk22-Jul-07 11:52 
GeneralRe: Dynamic textcolor change in RichTextBox in visual C# Pin
Luc Pattyn22-Jul-07 12:38
sitebuilderLuc Pattyn22-Jul-07 12:38 
GeneralRe: Dynamic textcolor change in RichTextBox in visual C# Pin
Blekk23-Jul-07 3:34
Blekk23-Jul-07 3:34 
GeneralRe: Dynamic textcolor change in RichTextBox in visual C# Pin
Luc Pattyn23-Jul-07 3:57
sitebuilderLuc Pattyn23-Jul-07 3:57 
QuestionCannot Load ResXFileCodeGenerator and SettingsSingleFileGenerator Pin
zoroyster21-Jul-07 23:49
zoroyster21-Jul-07 23:49 
QuestionMove the form without caption [modified] Pin
Maddie from Dartford21-Jul-07 23:15
Maddie from Dartford21-Jul-07 23:15 
AnswerRe: Move the form without caption Pin
mav.northwind22-Jul-07 5:09
mav.northwind22-Jul-07 5:09 
GeneralRe: Move the form without caption Pin
Maddie from Dartford22-Jul-07 17:54
Maddie from Dartford22-Jul-07 17:54 
GeneralRe: Move the form without caption Pin
mav.northwind22-Jul-07 19:11
mav.northwind22-Jul-07 19:11 
QuestionHow to use Dictionary? Pin
Nothend21-Jul-07 23:04
Nothend21-Jul-07 23:04 
AnswerRe: How to use Dictionary? Pin
mav.northwind21-Jul-07 23:13
mav.northwind21-Jul-07 23:13 
GeneralRe: How to use Dictionary? Pin
Nothend21-Jul-07 23:21
Nothend21-Jul-07 23:21 
GeneralRe: How to use Dictionary? Pin
Larantz22-Jul-07 0:11
Larantz22-Jul-07 0:11 
GeneralRe: How to use Dictionary? Pin
Nothend22-Jul-07 0:21
Nothend22-Jul-07 0:21 
GeneralRe: How to use Dictionary? Pin
Nothend22-Jul-07 0:24
Nothend22-Jul-07 0:24 

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.