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

C#

 
GeneralRe: C# Contacting Form1 Pin
Ennis Ray Lynch, Jr.20-Aug-10 6:41
Ennis Ray Lynch, Jr.20-Aug-10 6:41 
GeneralRe: C# Contacting Form1 Pin
C.CoderCreator20-Aug-10 13:27
C.CoderCreator20-Aug-10 13:27 
GeneralRe: C# Contacting Form1 Pin
peterchen20-Aug-10 11:20
peterchen20-Aug-10 11:20 
GeneralRe: C# Contacting Form1 Pin
C.CoderCreator20-Aug-10 13:27
C.CoderCreator20-Aug-10 13:27 
GeneralRe: C# Contacting Form1 Pin
peterchen20-Aug-10 19:32
peterchen20-Aug-10 19:32 
GeneralRe: C# Contacting Form1 Pin
C.CoderCreator20-Aug-10 13:51
C.CoderCreator20-Aug-10 13:51 
AnswerRe: C# Contacting Form1 Pin
DaveyM6920-Aug-10 0:37
professionalDaveyM6920-Aug-10 0:37 
AnswerHorrible Thread Alert Pin
Luc Pattyn20-Aug-10 1:45
sitebuilderLuc Pattyn20-Aug-10 1:45 
While the code snippet isn't clear at all, having one Form influence/use something that resides in another Form is a common need, and there are some perfect solutions, all object-oriented. The keywords static and public are not the key to a solution, Dave's tip is.


systemerror121 wrote:
without opening a new form?


The short answer is: there isn't a single proper way that does involve a new Form1, since any new Form1 will be different (similar but not identical) to the one you really want.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


Questionemail template Pin
Jassim Rahma19-Aug-10 8:00
Jassim Rahma19-Aug-10 8:00 
AnswerRe: email template Pin
Ennis Ray Lynch, Jr.19-Aug-10 8:32
Ennis Ray Lynch, Jr.19-Aug-10 8:32 
GeneralRe: email template Pin
Jassim Rahma19-Aug-10 8:40
Jassim Rahma19-Aug-10 8:40 
GeneralRe: email template Pin
Dan Mos19-Aug-10 9:07
Dan Mos19-Aug-10 9:07 
GeneralRe: email template Pin
AspDotNetDev19-Aug-10 9:10
protectorAspDotNetDev19-Aug-10 9:10 
AnswerRe: email template Pin
T M Gray19-Aug-10 11:19
T M Gray19-Aug-10 11:19 
AnswerRe: email template Pin
Eaverae19-Aug-10 20:44
Eaverae19-Aug-10 20:44 
QuestionDoes the timer event run in a new thread? Pin
yu-jian19-Aug-10 6:39
yu-jian19-Aug-10 6:39 
AnswerRe: Does the timer event run in a new thread? Pin
Dave Kreskowiak19-Aug-10 7:00
mveDave Kreskowiak19-Aug-10 7:00 
GeneralRe: Does the timer event run in a new thread? Pin
yu-jian19-Aug-10 7:49
yu-jian19-Aug-10 7:49 
GeneralRe: Does the timer event run in a new thread? Pin
daniel ingalla19-Aug-10 8:03
daniel ingalla19-Aug-10 8:03 
GeneralRe: Does the timer event run in a new thread? Pin
Ian Shlasko19-Aug-10 8:43
Ian Shlasko19-Aug-10 8:43 
GeneralRe: Does the timer event run in a new thread? Pin
Dave Kreskowiak19-Aug-10 9:18
mveDave Kreskowiak19-Aug-10 9:18 
AnswerRe: Does the timer event run in a new thread? Pin
Luc Pattyn19-Aug-10 11:47
sitebuilderLuc Pattyn19-Aug-10 11:47 
AnswerRe: Does the timer event run in a new thread? Pin
Samuel Cherinet20-Aug-10 5:12
Samuel Cherinet20-Aug-10 5:12 
Questionhow C# Datagridview export to dbase IV ? Pin
pravietis19-Aug-10 1:57
pravietis19-Aug-10 1:57 
QuestionHow to minimize the garbage collector running .. ? Pin
Yanshof18-Aug-10 23:09
Yanshof18-Aug-10 23:09 

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.