Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
GeneralRe: Porting to C# Pin
Kant27-Feb-04 10:31
Kant27-Feb-04 10:31 
GeneralRe: Porting to C# Pin
Heath Stewart27-Feb-04 11:08
protectorHeath Stewart27-Feb-04 11:08 
GeneralRe: Porting to C# Pin
Matthew Hazlett27-Feb-04 13:27
Matthew Hazlett27-Feb-04 13:27 
GeneralRe: Porting to C# Pin
Marc Clifton27-Feb-04 16:15
mvaMarc Clifton27-Feb-04 16:15 
GeneralRe: Porting to C# Pin
Kant28-Feb-04 18:53
Kant28-Feb-04 18:53 
GeneralRe: Porting to C# Pin
Giles29-Feb-04 0:15
Giles29-Feb-04 0:15 
GeneralResizing form background image Pin
Flack27-Feb-04 9:10
Flack27-Feb-04 9:10 
GeneralRe: Resizing form background image Pin
Heath Stewart27-Feb-04 9:59
protectorHeath Stewart27-Feb-04 9:59 
You could either override the OnPaint method and scale and draw your background image before calling base.OnPaint, or override the OnResize method and scale the image, setting it as the new BackgroundImage. In the latter case, you'll have to create a Graphics using CreateGraphics in your form and call somethig like Graphics.ScaleTransform (which you could use in the override for OnPaint as well).

 

Microsoft MVP, Visual C#
My Articles
QuestionFileIOPermission also takes away UIPermission? Pin
Nathan Blomquist27-Feb-04 8:37
Nathan Blomquist27-Feb-04 8:37 
AnswerRe: FileIOPermission also takes away UIPermission? Pin
Heath Stewart27-Feb-04 9:38
protectorHeath Stewart27-Feb-04 9:38 
GeneralRe: FileIOPermission also takes away UIPermission? Pin
Nathan Blomquist27-Feb-04 11:21
Nathan Blomquist27-Feb-04 11:21 
GeneralRe: FileIOPermission also takes away UIPermission? Pin
Heath Stewart28-Feb-04 3:16
protectorHeath Stewart28-Feb-04 3:16 
GeneralRe: FileIOPermission also takes away UIPermission? Pin
Nathan Blomquist28-Feb-04 5:11
Nathan Blomquist28-Feb-04 5:11 
GeneralRe: FileIOPermission also takes away UIPermission? Pin
Heath Stewart28-Feb-04 5:25
protectorHeath Stewart28-Feb-04 5:25 
GeneralRe: FileIOPermission also takes away UIPermission? Pin
Nathan Blomquist28-Feb-04 6:34
Nathan Blomquist28-Feb-04 6:34 
GeneralUsercontrol as a container Pin
meago27-Feb-04 8:28
meago27-Feb-04 8:28 
GeneralRe: Usercontrol as a container Pin
Roger Alsing27-Feb-04 9:19
Roger Alsing27-Feb-04 9:19 
GeneralRe: Usercontrol as a container Pin
meago1-Mar-04 12:44
meago1-Mar-04 12:44 
GeneralGet wmv file information Pin
Matt Newman27-Feb-04 8:22
Matt Newman27-Feb-04 8:22 
GeneralRe: Get wmv file information Pin
Heath Stewart27-Feb-04 9:30
protectorHeath Stewart27-Feb-04 9:30 
GeneralCheckbox in Datagrid - check in one click Pin
Ruchi Gupta27-Feb-04 6:35
Ruchi Gupta27-Feb-04 6:35 
GeneralRe: Checkbox in Datagrid - check in one click Pin
Heath Stewart27-Feb-04 8:31
protectorHeath Stewart27-Feb-04 8:31 
Questioncolored lines in console?? Pin
oOomen27-Feb-04 6:32
oOomen27-Feb-04 6:32 
AnswerRe: colored lines in console?? Pin
Heath Stewart27-Feb-04 6:36
protectorHeath Stewart27-Feb-04 6:36 
GeneralRe: colored lines in console?? Pin
Uwe Keim27-Feb-04 7:40
sitebuilderUwe Keim27-Feb-04 7:40 

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.