I am using Windows Forms, language - C#. I have a Project Calculator. I added a UserControl to that project ButtonC. I dragged that Control to my Form, and when running it, I am getting an error that ButtonC in does not exist.
Can't understand what is the problem. But When I manage that line like this
this.ButtonC = new ButtonC();
That does not give any error, but every time, before running I have to change that, and I don't think that it is the right solution. Thanks for Help.