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

C#

 
Questionproblem with move values between two running forms Pin
Mr.Kode27-Oct-09 22:00
Mr.Kode27-Oct-09 22:00 
AnswerRe: problem with move values between two running forms Pin
Christian Graus27-Oct-09 22:23
protectorChristian Graus27-Oct-09 22:23 
JokeRe: problem with move values between two running forms Pin
dan!sh 27-Oct-09 22:25
professional dan!sh 27-Oct-09 22:25 
GeneralRe: problem with move values between two running forms Pin
Christian Graus27-Oct-09 22:34
protectorChristian Graus27-Oct-09 22:34 
GeneralRe: problem with move values between two running forms Pin
Mr.Kode27-Oct-09 22:43
Mr.Kode27-Oct-09 22:43 
GeneralRe: problem with move values between two running forms Pin
Christian Graus27-Oct-09 22:50
protectorChristian Graus27-Oct-09 22:50 
GeneralRe: problem with move values between two running forms Pin
Mr.Kode27-Oct-09 23:01
Mr.Kode27-Oct-09 23:01 
GeneralRe: problem with move values between two running forms Pin
Christian Graus27-Oct-09 23:06
protectorChristian Graus27-Oct-09 23:06 
Well, it would help if you knew what you were doing. I assume you have no idea what object is null ? Do you have any idea how to use the debugger ? Hit F9 with the focus on this line to set a breakpoint, hit F5 to debug and when the code stops on this line, you can hover over each object. Either F1 is null ( which seems unlikely as you cast it and don't use 'as' ), label1 is null ( unlikely as it's a local object ) or textbox1 is null. Once you work out which is null, you can work out why. Do you set the Owner of the form when you create it ? That may be the problem.

Mr.Kode wrote:
but for now i need to solve the problem


Why ? This is surely not code that someone is going to use in real life ? It's a disaster, as I said.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

GeneralRe: problem with move values between two running forms Pin
Mr.Kode27-Oct-09 23:21
Mr.Kode27-Oct-09 23:21 
GeneralRe: problem with move values between two running forms Pin
Christian Graus27-Oct-09 23:33
protectorChristian Graus27-Oct-09 23:33 
AnswerRe: problem with move values between two running forms Pin
AhmedMasum28-Oct-09 0:06
AhmedMasum28-Oct-09 0:06 
AnswerRe: problem with move values between two running forms Pin
hosseinghazanfary14-Nov-09 19:50
hosseinghazanfary14-Nov-09 19:50 
QuestionHelp Pin
amaankhan27-Oct-09 19:22
amaankhan27-Oct-09 19:22 
AnswerRe: Help Pin
Christian Graus27-Oct-09 19:42
protectorChristian Graus27-Oct-09 19:42 
GeneralRe: Help Pin
amaankhan27-Oct-09 20:11
amaankhan27-Oct-09 20:11 
GeneralRe: Help Pin
amaankhan27-Oct-09 20:15
amaankhan27-Oct-09 20:15 
GeneralRe: Help Pin
Christian Graus27-Oct-09 21:27
protectorChristian Graus27-Oct-09 21:27 
GeneralRe: Help Pin
amaankhan27-Oct-09 21:41
amaankhan27-Oct-09 21:41 
QuestionWhy is the size fixed to 16384? Pin
ralphigo27-Oct-09 19:14
ralphigo27-Oct-09 19:14 
AnswerRe: Why is the size fixed to 16384? Pin
Christian Graus27-Oct-09 19:43
protectorChristian Graus27-Oct-09 19:43 
AnswerRe: Why is the size fixed to 16384? Pin
Keith Barrow28-Oct-09 3:18
professionalKeith Barrow28-Oct-09 3:18 
QuestionIs there a difference between connect PPC to WS through ActiveSync and IP cradle ? Pin
E_Gold27-Oct-09 12:43
E_Gold27-Oct-09 12:43 
QuestionHow do i make custom control update display at design-time ? Pin
idan_bismut27-Oct-09 11:00
idan_bismut27-Oct-09 11:00 
AnswerRe: How do i make custom control update display at design-time ? Pin
Not Active27-Oct-09 11:08
mentorNot Active27-Oct-09 11:08 
GeneralRe: How do i make custom control update display at design-time ? Pin
idan_bismut27-Oct-09 11:24
idan_bismut27-Oct-09 11: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.