Follow the steps
- Let Form1 have one label named "Label1" - Set the access modifier of Label1 to *public.* - In Form2, make an object of Form1 as Form1 obj =new Form1; - And you can access the label by writing following line, * obj.Label1.Text="Hi";* markand On Wed, Jan 18, 2012 at 3:10 PM, Mohammed Azharuddin <[email protected]>wrote: > in windows > > > On Mon, Jan 16, 2012 at 1:45 PM, Cerebrus <[email protected]> wrote: > >> Windows or Web ?? >> >> Please spend 2 min thinking about what you intend to ask. If you ask a >> incomprehensible question, you won't get answers. >> >> On Jan 13, 2:53 pm, Mohammed Azharuddin <[email protected]> wrote: >> > Hw r u all??! >> > >> > in a visual c#.net >> > how to acess the previous form(say form1) in a current form(say >> form2).... >> >> -- >> You received this message because you are subscribed to the Google >> Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML >> Web Services,.NET Remoting" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en >> or visit the group website at http://megasolutions.net >> > > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > Web Services,.NET Remoting" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
