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

C#

 
QuestionDeploying C# projects into single exe file Pin
hosseinghazanfary27-Oct-09 22:09
hosseinghazanfary27-Oct-09 22:09 
AnswerRe: Deploying C# projects into single exe file Pin
Christian Graus27-Oct-09 22:20
protectorChristian Graus27-Oct-09 22:20 
AnswerRe: Deploying C# projects into single exe file Pin
Calla27-Oct-09 22:28
Calla27-Oct-09 22:28 
AnswerRe: Deploying C# projects into single exe file Pin
vtchris-peterson28-Oct-09 5:39
vtchris-peterson28-Oct-09 5:39 
GeneralRe: Deploying C# projects into single exe file Pin
hosseinghazanfary30-Oct-09 7:34
hosseinghazanfary30-Oct-09 7:34 
GeneralRe: Deploying C# projects into single exe file Pin
vtchris-peterson30-Oct-09 8:03
vtchris-peterson30-Oct-09 8:03 
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 
Mr.Kode wrote:
Form1 F1 = (Form1 )this.Owner;
F1.textbox1.text = label1.Text; // i had set textbox1 modifier property to public


This should work, although it's probably the nastiest code I've seen today ( and that's huge ).

1 - why on earth can't anyone here give their variables meaningful names ? Form1 ? Label1 ? Are you all REALLY comfortable with that ?
2 - making your controls public is retarded. If you must, make a string property public that sets the text on the label, but don't expose the whole thing. If your doctor asks to see the back of your knee, do you take all your clothes off ?
3 - you say 'I have troubles' then you post code that looks like it should work. What troubles ? What's happening ? Does it run ? Does it blow up ? If you want to ask a question, you need to be CLEAR
4 - the best way to communicate between forms is delegates. Then no properties need to be exposed.

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.

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 
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 

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.