Reputation: 470
I am trying to inheritance a window form from another window form in C#. Net, but got Errors
My First From
public partial class Checkout : Form
{
public Checkout()
{
InitializeComponent();
}
private void textBox3_TextChanged(object sender, EventArgs e)
{
}
}
2nd From Code to which i want to make inherited Form of First Form
public partial class OnwerPermission : Checkout
{
public OnwerPermission()
{
InitializeComponent();
}
}
Got this error
Upvotes: 1
Views: 61
Reputation: 886
You can try doing this:
Upvotes: 2