Click here to Skip to main content
16,014,748 members
Home / Discussions / C#
   

C#

 
GeneralRe: Enable/Disable of texbox Pin
sreejith ss nair24-May-04 20:02
sreejith ss nair24-May-04 20:02 
GeneralRe: Enable/Disable of texbox Pin
HappyKim25-May-04 15:41
HappyKim25-May-04 15:41 
GeneralRe: Enable/Disable of texbox Pin
sreejith ss nair26-May-04 20:51
sreejith ss nair26-May-04 20:51 
GeneralRe: Enable/Disable of texbox Pin
HappyKim27-May-04 14:01
HappyKim27-May-04 14:01 
GeneralRe: Enable/Disable of texbox Pin
sreejith ss nair27-May-04 17:51
sreejith ss nair27-May-04 17:51 
GeneralRe: Enable/Disable of texbox Pin
sreejith ss nair27-May-04 18:14
sreejith ss nair27-May-04 18:14 
GeneralAccessing objects Pin
John L. DeVito24-May-04 10:29
professionalJohn L. DeVito24-May-04 10:29 
GeneralRe: Accessing objects Pin
frank2124-May-04 10:58
frank2124-May-04 10:58 
Each form you create in .net is in itself a class so if you instantiate an object of one form within the code behind for the other form you will be able to access it's components ie:

Within the Form2 code write

Form1 myForm1 = new Form1();

Then also within the Form2 code write

textboxname.DataSource = myForm1.Text.ToString();

and it should put the data in the approppriate place


Please not what I have written is very basic there is a large amount of help for questions like yours in places like this website and msdn so don't be shy dig right in an get an early understanding of OOP with .net


GeneralRe: Accessing objects Pin
Heath Stewart24-May-04 11:24
protectorHeath Stewart24-May-04 11:24 
GeneralRe: Accessing objects Pin
Heath Stewart24-May-04 11:33
protectorHeath Stewart24-May-04 11:33 
GeneralFitting Buttons to Bitmaps Pin
Guinness4Strength24-May-04 10:28
Guinness4Strength24-May-04 10:28 
GeneralRe: Fitting Buttons to Bitmaps Pin
Heath Stewart24-May-04 11:35
protectorHeath Stewart24-May-04 11:35 
GeneralRe: Fitting Buttons to Bitmaps Pin
Guinness4Strength24-May-04 15:15
Guinness4Strength24-May-04 15:15 
GeneralRe: Fitting Buttons to Bitmaps Pin
Heath Stewart25-May-04 2:36
protectorHeath Stewart25-May-04 2:36 
GeneralRe: Fitting Buttons to Bitmaps Pin
Guinness4Strength24-May-04 15:25
Guinness4Strength24-May-04 15:25 
GeneralCR 9 for C#.net Question Pin
frank2124-May-04 10:17
frank2124-May-04 10:17 
GeneralRe: CR 9 for C#.net Question Pin
Heath Stewart24-May-04 11:40
protectorHeath Stewart24-May-04 11:40 
GeneralAdding Menu Items in C# using Visual Studio Tools for Microsoft Office Pin
mevenson24-May-04 8:39
mevenson24-May-04 8:39 
Generaldataset error Pin
MrJJKoolJ24-May-04 8:23
MrJJKoolJ24-May-04 8:23 
GeneralRe: dataset error Pin
Marc Clifton24-May-04 8:37
mvaMarc Clifton24-May-04 8:37 
GeneralRe: dataset error Pin
Dave Kreskowiak24-May-04 8:39
mveDave Kreskowiak24-May-04 8:39 
GeneralRe: dataset error Pin
MrJJKoolJ24-May-04 8:57
MrJJKoolJ24-May-04 8:57 
GeneralRe: dataset error Pin
sreejith ss nair24-May-04 20:08
sreejith ss nair24-May-04 20:08 
GeneralRe: dataset error Pin
sreejith ss nair24-May-04 20:09
sreejith ss nair24-May-04 20:09 
General64bit Pin
Dimitris Iliopoulos24-May-04 7:54
Dimitris Iliopoulos24-May-04 7:54 

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.