我在C#中有一个类,该类具有一些UserControl
属性。现在,我想在设计器中使用这些控件。这样可能吗?
public class Scope
{
public SomeView1 View1 { get; private set; }
public SomeView2 View2 { get; private set; }
}
public class SomeView1 : UserControl
{
}
public class SomeView2 : UserControl
{
}