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 <[email protected]>
>
> Hello:
>
> Please forgive my question. I have interest to learn but not the
> knowledge to solve. Hope to get help..
>
> I have a Form1 with StatusStrip and a Class1 class-file in a project.
> I want to pass a string message from my Class1 to my Form1. Please
> help me. I am trying in VB.NET
>
> If you could direct me to similar example that will work too.
>
> Many thanks.
> musa biralo
>
--
Regards
*******************
*C.Arun Kumar *
*******************