I've been receiving some errors lately and have tried recreating my controls, but I seems to be getting the same error again!
Here's my scenario (in simplest terms): I have a simple form named frmV that has a UserControl named ucComp1. I get the error when I Ctrl+F5: The variable 'ucComp1' is either undeclared or was never assigned. This points to line 66 on my frmV.Designer.cs file.
FYI, here is my code for the frmV.cs file:
I'm stumped and can't seem to move forward now. Any and all assistance will be greatly appreciated.
Here's my scenario (in simplest terms): I have a simple form named frmV that has a UserControl named ucComp1. I get the error when I Ctrl+F5: The variable 'ucComp1' is either undeclared or was never assigned. This points to line 66 on my frmV.Designer.cs file.
Code:
65: this.Controls.Add(this.ucComp1);
66: this.Name = "frmV";
Code:
public partial class frmV : Form
{
public frmV()
{
InitializeComponent();
}
public ucComp UC
{
get { return ucComp1; }
}
}