form designer view is not opening
Windows Forms
1
Posts
1
Posters
0
Views
1
Watching
-
I have created a Serializable class named "Student". [Serializable] public class Student { } Also created a custom user control. then i used the list in the custom user control. public class myControl : UserControl { List students; public List Students { set { students = value; } get { return students; } } } the controls is performing exact and there is no any compilation error. but if i use this control on any form then designer view of that form vanished out and display this error. Object of type 'System.Collections.Generic.List`1[WindowsControlLibrary1.Student]' cannot be converted to type 'System.Collections.Generic.List`1[WindowsControlLibrary1.Student]'. Kindly help that why the designer view of this form vanished out.