PC Review


Reply
Thread Tools Rate Thread

communication between two C# forms

 
 
satender kumar via .NET 247
Guest
Posts: n/a
 
      15th Mar 2005
(Type your message here)
how to pass data from one form to other

when i click on the button of form1
i need to pass data to form2 with click event of the button of form1
--------------------------------

From: satender kumar

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>5JPriFXHxUCNLVCO6LVURw==</Id>
 
Reply With Quote
 
 
 
 
Sohaib Khan via DotNetMonster.com
Guest
Posts: n/a
 
      15th Mar 2005
Make your own class that will contain the data you have to pass to the
second form.

Make an object of that class, initialize the fields with the data. And pass
this object in the constructor of the second form

Simple Isn't it

--
Message posted via http://www.dotnetmonster.com
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Communication between forms Selva Chinnasamy Microsoft VB .NET 8 25th Apr 2006 06:17 AM
Communication between forms =?Utf-8?B?U3TDqXBoYW5lIFJvdWNoZXJheQ==?= Microsoft Dot NET 1 21st Jul 2004 03:14 PM
Communication between forms =?KOI8-R?Q?=E1=CE=D4=CF=CE_=F4=F5=D0=C9=CA?= Microsoft C# .NET 4 13th Jun 2004 06:10 PM
communication between two forms rammohan Microsoft C# .NET 3 28th Feb 2004 01:31 AM
Communication between 2 forms Reza Microsoft Dot NET Framework 0 28th Nov 2003 10:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:49 PM.