Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can someone please tell me what is wrong with this List function? Pin
Colin Angus Mackay10-Apr-09 8:57
Colin Angus Mackay10-Apr-09 8:57 
GeneralRe: Can someone please tell me what is wrong with this List function? Pin
stonebergftw10-Apr-09 9:08
stonebergftw10-Apr-09 9:08 
QuestionWhy is the image erased by the background? Pin
garry.fang10-Apr-09 6:41
garry.fang10-Apr-09 6:41 
AnswerRe: Why is the image erased by the background? Pin
Luc 64801110-Apr-09 6:58
Luc 64801110-Apr-09 6:58 
GeneralRe: Why is the image erased by the background? Pin
garry.fang10-Apr-09 7:20
garry.fang10-Apr-09 7:20 
GeneralRe: Why is the image erased by the background? Pin
Dan Neely10-Apr-09 8:36
Dan Neely10-Apr-09 8:36 
GeneralRe: Why is the image erased by the background? Pin
garry.fang10-Apr-09 9:26
garry.fang10-Apr-09 9:26 
AnswerRe: Why is the image erased by the background? Pin
Dan Neely10-Apr-09 7:04
Dan Neely10-Apr-09 7:04 
First. Please the the code block formatting. It preserves your indents to make the code readable.

garry.fang wrote:
I am drafting a control which can zoom the image and scroll. But unfortunately, the background will erase the image. I do not know why.


Second, you appear to be misinformed about what PaintBackground does. It repaints the background of the entire control, including any areas which you have previously drawn a foreground object. If you wish to preserve them, any forground objects must be repainted after the PaintBackground call.

Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall

QuestionHow to run swf file from c#? Pin
Supra210-Apr-09 5:26
Supra210-Apr-09 5:26 
AnswerRe: How to run swf file from c#? Pin
Dan Neely10-Apr-09 7:08
Dan Neely10-Apr-09 7:08 
AnswerRe: How to run swf file from c#? Pin
krishna_goluguri8-Jul-10 0:25
krishna_goluguri8-Jul-10 0:25 
QuestionExcel grid lines issue Pin
winsrividhya10-Apr-09 5:24
winsrividhya10-Apr-09 5:24 
AnswerRe: Excel grid lines issue Pin
Henry Minute10-Apr-09 8:31
Henry Minute10-Apr-09 8:31 
Questionusing infomessege in firebird or other database Pin
muhammedmustafa10-Apr-09 4:48
muhammedmustafa10-Apr-09 4:48 
AnswerRe: using infomessege in firebird or other database Pin
Colin Angus Mackay10-Apr-09 5:04
Colin Angus Mackay10-Apr-09 5:04 
GeneralRe: using infomessege in firebird or other database Pin
muhammedmustafa10-Apr-09 21:24
muhammedmustafa10-Apr-09 21:24 
GeneralRe: using infomessege in firebird or other database Pin
Colin Angus Mackay12-Apr-09 12:12
Colin Angus Mackay12-Apr-09 12:12 
Questionaccesing Gridview Data in javascript function Pin
Abhishek Rana10-Apr-09 2:45
Abhishek Rana10-Apr-09 2:45 
AnswerRe: accesing Gridview Data in javascript function Pin
Henry Minute10-Apr-09 8:33
Henry Minute10-Apr-09 8:33 
QuestionTreeview Problem Pin
Digubha10-Apr-09 2:02
Digubha10-Apr-09 2:02 
AnswerRe: Treeview Problem Pin
Xmen Real 10-Apr-09 6:15
professional Xmen Real 10-Apr-09 6:15 
QuestionAdmin prevlige Pin
yesu prakash10-Apr-09 1:59
yesu prakash10-Apr-09 1:59 
AnswerRe: Admin prevlige Pin
Colin Angus Mackay10-Apr-09 2:02
Colin Angus Mackay10-Apr-09 2:02 
QuestionAdding my app's link to Desktop Context Menu Pin
Sumit Prakash Sharma10-Apr-09 1:06
professionalSumit Prakash Sharma10-Apr-09 1:06 
AnswerRe: Adding my app's link to Desktop Context Menu Pin
Luc 64801110-Apr-09 1:35
Luc 64801110-Apr-09 1:35 

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.