Click here to Skip to main content
15,884,099 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to File Upload to Code project Pin
jedliu204630-Jul-08 15:55
jedliu204630-Jul-08 15:55 
QuestionFocus Issue Pin
Zocrates30-Jul-08 11:02
Zocrates30-Jul-08 11:02 
AnswerRe: Focus Issue Pin
led mike30-Jul-08 11:24
led mike30-Jul-08 11:24 
GeneralRe: Focus Issue Pin
Zocrates30-Jul-08 11:27
Zocrates30-Jul-08 11:27 
GeneralRe: Focus Issue Pin
led mike30-Jul-08 11:31
led mike30-Jul-08 11:31 
GeneralRe: Focus Issue Pin
Zocrates30-Jul-08 11:34
Zocrates30-Jul-08 11:34 
GeneralRe: Focus Issue Pin
led mike30-Jul-08 12:31
led mike30-Jul-08 12:31 
QuestionAssignment statement malfunction? Pin
Alan Balkany30-Jul-08 10:33
Alan Balkany30-Jul-08 10:33 
This is weird; I'm assigning a Rectangle to another Rectangle, and the width doesn't change:

viewPortInstance.Bounds = layoutSize;

layoutSize is: {X = 0 Y = 0 Width = 800 Height = 400}

Before the statement is executed, viewPortInstance.Bounds is: {X = 0 Y = 0 Width = 1018 Height = 266}
After the statement, viewPortInstance.Bounds is: {X = 0 Y = 0 Width = 1018 Height = 400} ?!

The width didn't change! (layoutSize is the same.) viewPortInstance is a PictureBox.

I also tried:

viewPortInstance.Bounds = new Rectangle (layoutSize.Location, layoutSize.Size);
with the same results.

Then when I looked at layoutSize.Size with QuickWatch, the "value" was: "The runtime has refused to evaluate the expression at this time." Excuse me? I didn't know it had a choice in the matter!

Anyone have any idea what's going on?
AnswerRe: Assignment statement malfunction? Pin
Wendelius30-Jul-08 10:47
mentorWendelius30-Jul-08 10:47 
GeneralRe: Assignment statement malfunction? Pin
Alan Balkany30-Jul-08 10:57
Alan Balkany30-Jul-08 10:57 
GeneralRe: Assignment statement malfunction? Pin
Wendelius30-Jul-08 10:59
mentorWendelius30-Jul-08 10:59 
Question.Net 2.0 MailTo Tag Pin
GDesai2030-Jul-08 10:25
GDesai2030-Jul-08 10:25 
AnswerRe: .Net 2.0 MailTo Tag Pin
vikas amin30-Jul-08 10:56
vikas amin30-Jul-08 10:56 
GeneralRe: .Net 2.0 MailTo Tag Pin
GDesai2030-Jul-08 18:34
GDesai2030-Jul-08 18:34 
GeneralRe: .Net 2.0 MailTo Tag Pin
GDesai2030-Jul-08 18:43
GDesai2030-Jul-08 18:43 
GeneralRe: .Net 2.0 MailTo Tag Pin
vikas amin1-Aug-08 5:32
vikas amin1-Aug-08 5:32 
GeneralRe: .Net 2.0 MailTo Tag Pin
GDesai204-Aug-08 6:13
GDesai204-Aug-08 6:13 
QuestionButterfly Flight Pin
DFlat4Now30-Jul-08 10:08
DFlat4Now30-Jul-08 10:08 
AnswerRe: Butterfly Flight Pin
Thomas Stockwell30-Jul-08 10:19
professionalThomas Stockwell30-Jul-08 10:19 
AnswerRe: Butterfly Flight Pin
jedliu204630-Jul-08 16:01
jedliu204630-Jul-08 16:01 
Questionstoring data Pin
damianrda30-Jul-08 7:40
damianrda30-Jul-08 7:40 
AnswerRe: storing data Pin
TheFM23430-Jul-08 8:03
TheFM23430-Jul-08 8:03 
AnswerRe: storing data Pin
led mike30-Jul-08 8:05
led mike30-Jul-08 8:05 
AnswerRe: storing data Pin
damianrda30-Jul-08 10:00
damianrda30-Jul-08 10:00 
GeneralRe: storing data [modified] Pin
Mark Salsbery30-Jul-08 11:30
Mark Salsbery30-Jul-08 11:30 

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.