Click here to Skip to main content
15,923,120 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get reference to Form1. Pin
Dave Kreskowiak9-Jun-05 6:29
mveDave Kreskowiak9-Jun-05 6:29 
GeneralRe: Get reference to Form1. Pin
Christian Graus9-Jun-05 11:18
protectorChristian Graus9-Jun-05 11:18 
GeneralRe: Get reference to Form1. Pin
Dave Kreskowiak9-Jun-05 14:55
mveDave Kreskowiak9-Jun-05 14:55 
GeneralRe: Get reference to Form1. Pin
Christian Graus9-Jun-05 14:58
protectorChristian Graus9-Jun-05 14:58 
GeneralRe: Get reference to Form1. Pin
Dave Kreskowiak9-Jun-05 16:13
mveDave Kreskowiak9-Jun-05 16:13 
GeneralRe: Get reference to Form1. Pin
Christian Graus9-Jun-05 16:16
protectorChristian Graus9-Jun-05 16:16 
GeneralReply to Dave's Solution Pin
DJdC9-Jun-05 15:42
DJdC9-Jun-05 15:42 
GeneralRe: Reply to Dave's Solution Pin
Dave Kreskowiak9-Jun-05 16:16
mveDave Kreskowiak9-Jun-05 16:16 
If this is the case, it's a bad idea to move it to a library. I thought your method was more generic than that, doing something on more than one form. If it only deals with one form, it's better to leave the method on that form and make it public so other classes can call it.

Follow the code samples in the other posts. They'll show you how to add a reference for Form1 on Form2. From there, it's a piece of cake.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Reply to Dave's Solution Pin
Christian Graus9-Jun-05 16:17
protectorChristian Graus9-Jun-05 16:17 
GeneralRe: Reply to Dave's Solution Pin
Dave Kreskowiak10-Jun-05 1:32
mveDave Kreskowiak10-Jun-05 1:32 
GeneralRe: Reply to Dave's Solution Pin
Christian Graus13-Jun-05 12:10
protectorChristian Graus13-Jun-05 12:10 
GeneralReply to Fantas's Solution Pin
DJdC9-Jun-05 15:37
DJdC9-Jun-05 15:37 
GeneralRe: Reply to Fantas's Solution Pin
Christian Graus9-Jun-05 16:21
protectorChristian Graus9-Jun-05 16:21 
GeneralReply to Christian's Solution Pin
DJdC9-Jun-05 15:48
DJdC9-Jun-05 15:48 
GeneralRe: Reply to Christian's Solution Pin
Christian Graus9-Jun-05 15:53
protectorChristian Graus9-Jun-05 15:53 
GeneralReRe: Reply to Christian's Solution Pin
DJdC9-Jun-05 16:26
DJdC9-Jun-05 16:26 
GeneralRe: ReRe: Reply to Christian's Solution Pin
Christian Graus9-Jun-05 16:34
protectorChristian Graus9-Jun-05 16:34 
GeneralReRe: ReRe: Reply to Christian's Solution Pin
DJdC9-Jun-05 17:06
DJdC9-Jun-05 17:06 
GeneralRe: ReRe: ReRe: Reply to Christian's Solution Pin
Christian Graus9-Jun-05 17:12
protectorChristian Graus9-Jun-05 17:12 
GeneralReRe: ReRe: ReRe: Reply to Christian's Solution Pin
DJdC9-Jun-05 17:45
DJdC9-Jun-05 17:45 
GeneralRe: ReRe: ReRe: ReRe: Reply to Christian's Solution Pin
Christian Graus9-Jun-05 17:51
protectorChristian Graus9-Jun-05 17:51 
GeneralReRe: ReRe: ReRe: ReRe: Reply to Christian's Solution Pin
DJdC9-Jun-05 19:10
DJdC9-Jun-05 19:10 
GeneralRe: ReRe: ReRe: ReRe: ReRe: Reply to Christian's Solution Pin
Christian Graus13-Jun-05 11:56
protectorChristian Graus13-Jun-05 11:56 
GeneralRe: Please Help! Function on Separate Form Pin
Jack Bond13-Jun-05 2:23
Jack Bond13-Jun-05 2:23 
GeneralGame Programming Pin
Sabry19058-Jun-05 22:55
Sabry19058-Jun-05 22:55 

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.