right now i tried the below:
OnClick - event
------------------------------
MyClass.SendMsg(this.Text4.Text) --- returns Empty string
MyClass.SendMsg(Products.ProductName) --- always return the same value
Can you please help me make this work.namespace MyClassNamespace
{
public class MyClass
{
public static void SendMsg(string value)
{
MessageBox.Show(value);
}
}
}
Thanks,
Lee