musa.biralo
unread,Dec 21, 2008, 3:25:22 PM12/21/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi Arun,
Thanks for the reply and explain things.
With your help I was able to get things but what i noticed that the
StatusLabel is not updating. I have several status notice at several
steps of the code in class (Not form) and none of them are updating.
I was able to get status update in simple example.
Your help or any direction to the web will be highly appreciated.
Thanks again Arun.
On Dec 20, 10:32 pm, "ARUN KUMAR" <
carunkumar1...@gmail.com> wrote:
> Hello Musa,
>
> Many ways available to pass string to form1 from calss1 but now I am tell
> one simple way to pass string to form1
>
> Assume your status strip contain Label
>
> Public Class Class1
>
> Sub New()
>
> 'you can directly access the label *see below
>
> Form1.ToolStripStatusLabel1.Text = "This message from class1"
>
> End Sub
>
> End Class
>
> Public Class Form1
>
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
> AsSystem.EventArgs)
> Handles Button1.Click
>
> Dim s As Class1 = New Class1
>
> End Sub
>
> End Class
>
> When user click the button then appered that message in status label
>
> *Note : That faclity avliable when Modifiers for Status label is Public or
> Friend
>
> 2008/12/20 musa.biralo <
musa.bir...@gmail.com>