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

C#

 
AnswerRe: Suggestions on how to create an efficient Queue generic with random access option Pin
N a v a n e e t h25-Dec-08 17:49
N a v a n e e t h25-Dec-08 17:49 
GeneralRe: Suggestions on how to create an efficient Queue generic with random access option Pin
Zerox MXI25-Dec-08 18:05
Zerox MXI25-Dec-08 18:05 
Question[Message Deleted] Pin
James_Zhang25-Dec-08 16:47
James_Zhang25-Dec-08 16:47 
AnswerRe: control on non client area of form Pin
Not Active25-Dec-08 17:06
mentorNot Active25-Dec-08 17:06 
AnswerRe: control on non client area of form Pin
Christian Graus25-Dec-08 17:08
protectorChristian Graus25-Dec-08 17:08 
GeneralRe: control on non client area of form Pin
James_Zhang25-Dec-08 18:02
James_Zhang25-Dec-08 18:02 
Question[Visual Studio | C#] richtextbox problem Pin
lucas moretti25-Dec-08 14:31
lucas moretti25-Dec-08 14:31 
GeneralRe: [Visual Studio | C#] richtextbox problem Pin
Luc Pattyn25-Dec-08 14:47
sitebuilderLuc Pattyn25-Dec-08 14:47 
Hi Lucas,

welcome to CodeProject.

seems to me you have more than one instance of Form1.

inside Form2.button1_Click, you create a new Form1, which is not the same
Form1 that caused Form2 to be created and shown; so changing the second Form1 will not
show any change on the first Form1, and since the second Form1 is not shown at all
(there is no Form1.Show) whatever you do to it will not show on the screen.

You need to pass the original Form1 (this) to Form2 when you create Form2, so it can
interact with its creator; or you could use delegates.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Fixturized forever. Confused | :confused:


GeneralRe: [Visual Studio | C#] richtextbox problem Pin
lucas moretti25-Dec-08 14:59
lucas moretti25-Dec-08 14:59 
GeneralRe: [Visual Studio | C#] richtextbox problem Pin
Christian Graus25-Dec-08 15:24
protectorChristian Graus25-Dec-08 15:24 
GeneralRe: [Visual Studio | C#] richtextbox problem Pin
lucas moretti25-Dec-08 15:35
lucas moretti25-Dec-08 15:35 
GeneralRe: [Visual Studio | C#] richtextbox problem Pin
Luc Pattyn25-Dec-08 15:41
sitebuilderLuc Pattyn25-Dec-08 15:41 
AnswerRe: [Visual Studio | C#] richtextbox problem Pin
N a v a n e e t h25-Dec-08 15:39
N a v a n e e t h25-Dec-08 15:39 
GeneralRe: [Visual Studio | C#] richtextbox problem Pin
lucas moretti25-Dec-08 15:44
lucas moretti25-Dec-08 15:44 
GeneralRe: [Visual Studio | C#] richtextbox problem Pin
Christian Graus25-Dec-08 16:19
protectorChristian Graus25-Dec-08 16:19 
Questionhow to invoke events of dynamically created controls Pin
DEEPNORTH25-Dec-08 11:41
DEEPNORTH25-Dec-08 11:41 
AnswerRe: how to invoke events of dynamically created controls Pin
Not Active25-Dec-08 12:17
mentorNot Active25-Dec-08 12:17 
AnswerRe: how to invoke events of dynamically created controls Pin
User 665825-Dec-08 13:04
User 665825-Dec-08 13:04 
GeneralRe: how to invoke events of dynamically created controls Pin
DEEPNORTH25-Dec-08 16:08
DEEPNORTH25-Dec-08 16:08 
GeneralRe: how to invoke events of dynamically created controls Pin
Luc Pattyn25-Dec-08 14:50
sitebuilderLuc Pattyn25-Dec-08 14:50 
Questiongridview problem Pin
bhatted25-Dec-08 4:28
bhatted25-Dec-08 4:28 
AnswerRe: gridview problem Pin
Lev Danielyan25-Dec-08 4:45
Lev Danielyan25-Dec-08 4:45 
GeneralRe: gridview problem Pin
bhatted25-Dec-08 11:09
bhatted25-Dec-08 11:09 
GeneralRe: gridview problem Pin
bhatted25-Dec-08 11:40
bhatted25-Dec-08 11:40 
QuestionStarting a process using Windows service in Vista Pin
queries36525-Dec-08 2:04
queries36525-Dec-08 2:04 

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.