C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,475 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
private void userToolStripMenuItem_Click(object sender, EventArgs e)
{
frUser user = new frUser();
user.Show();
}
private void categoryToolStripMenuItem_Click(object sender, EventArgs e)
{
frCategory category = new frCategory();
category.Show();
hi, why i can open user form using this code yet cannot do for category?
when i put 'category.' the suggestion didnt show up 'Show' and when i manually do this, the code is not being recognized by vs.
this is a code at a main form to open subform using tool stripbar.
thank you
Probably frCategory is not a form. Maybe it is a User Control or something else.
What do you see if you select frCategory and press <F12> (which is “Go to definition”)?