Click here to Skip to main content
15,903,201 members
Home / Discussions / C#
   

C#

 
AnswerRe: show release version Pin
mav.northwind6-Jul-06 5:51
mav.northwind6-Jul-06 5:51 
Questionaccessing http headers in .NET 2.0 WebBrowser Control Pin
mbenezra5-Jul-06 10:03
mbenezra5-Jul-06 10:03 
AnswerRe: accessing http headers in .NET 2.0 WebBrowser Control Pin
led mike5-Jul-06 10:27
led mike5-Jul-06 10:27 
GeneralRe: accessing http headers in .NET 2.0 WebBrowser Control Pin
mbenezra5-Jul-06 12:33
mbenezra5-Jul-06 12:33 
GeneralRe: accessing http headers in .NET 2.0 WebBrowser Control Pin
led mike6-Jul-06 4:49
led mike6-Jul-06 4:49 
QuestionSize problem Pin
Phoen255-Jul-06 9:40
Phoen255-Jul-06 9:40 
AnswerRe: Size problem Pin
Phoen255-Jul-06 9:46
Phoen255-Jul-06 9:46 
AnswerRe: Size problem Pin
Alexander Wiseman5-Jul-06 10:55
Alexander Wiseman5-Jul-06 10:55 
Hello,

It looks like you are placing the size change code inside the constructor for the form. I'm not quite sure why that isn't working, but in an application I am working on, I have initial resizing done inside the Load event handler and it works perfectly. Try putting your sizing code inside the Load event handler instead and see if that works out. For example:
private void FrmOne_Load(object sender, System.EventArgs e)
{
     ...
     this.BackgroundImage = global::Project1.Properties.Resources.img_1;
     this.ClientSize = this.BackgroundImage.Size;
     ...
}
Hope that helps!

Sincerely,
Alexander Wiseman
QuestionGet the current users name Pin
jhsheets5-Jul-06 9:00
jhsheets5-Jul-06 9:00 
AnswerRe: Get the current users name Pin
Dustin Metzgar5-Jul-06 12:32
Dustin Metzgar5-Jul-06 12:32 
GeneralRe: Get the current users name Pin
jhsheets5-Jul-06 19:57
jhsheets5-Jul-06 19:57 
AnswerRe: Get the current users name Pin
Ed.Poore5-Jul-06 12:41
Ed.Poore5-Jul-06 12:41 
GeneralRe: Get the current users name Pin
jhsheets5-Jul-06 19:54
jhsheets5-Jul-06 19:54 
QuestionForm.Show() moves Location Pin
sailracerj5-Jul-06 8:12
sailracerj5-Jul-06 8:12 
AnswerRe: Form.Show() moves Location Pin
led mike5-Jul-06 8:49
led mike5-Jul-06 8:49 
GeneralRe: Form.Show() moves Location Pin
sailracerj6-Jul-06 2:50
sailracerj6-Jul-06 2:50 
AnswerRe: Form.Show() moves Location Pin
BoneSoft5-Jul-06 9:28
BoneSoft5-Jul-06 9:28 
GeneralRe: Form.Show() moves Location Pin
sailracerj6-Jul-06 2:52
sailracerj6-Jul-06 2:52 
QuestionTransfer of datagrid to another webform Pin
blurMember5-Jul-06 7:43
blurMember5-Jul-06 7:43 
AnswerRe: Transfer of datagrid to another webform Pin
led mike5-Jul-06 8:14
led mike5-Jul-06 8:14 
GeneralRe: Transfer of datagrid to another webform Pin
blurMember5-Jul-06 15:21
blurMember5-Jul-06 15:21 
QuestionDisable certain item in the collection of dropdownlist [modified] Pin
blurMember5-Jul-06 7:30
blurMember5-Jul-06 7:30 
QuestionHow to display image at client site?? Pin
Bluebamboo5-Jul-06 7:01
Bluebamboo5-Jul-06 7:01 
AnswerRe: How to display image at client site?? Pin
led mike5-Jul-06 8:12
led mike5-Jul-06 8:12 
GeneralRe: How to display image at client site?? Pin
Bluebamboo5-Jul-06 11:20
Bluebamboo5-Jul-06 11:20 

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.