P
PawelR
Hello Group,
In my application I have few class, and I want call function with "master
class". This is as master form (startClass) and option window (ClassA). My
question is how call function from startClass in classA?
public startClass : System.Windows.Forms.Form
{
static void Main()
{...}
public string Function1()
{...}
private callClassA()
{
ClassA classA = new ClassA();
classA.ShowDialog();
}
}
public ClassA : System.WIndows.Forms.Form
{
private void Fuction11()
{
//call Function1();
}
}
Thx PawelR
In my application I have few class, and I want call function with "master
class". This is as master form (startClass) and option window (ClassA). My
question is how call function from startClass in classA?
public startClass : System.Windows.Forms.Form
{
static void Main()
{...}
public string Function1()
{...}
private callClassA()
{
ClassA classA = new ClassA();
classA.ShowDialog();
}
}
public ClassA : System.WIndows.Forms.Form
{
private void Fuction11()
{
//call Function1();
}
}
Thx PawelR