0
WPF에서 UserControl을 만들고 있지만 UserControl 클래스에서 직접 상속하지 않습니다. 내 UserControl을 프로젝트에 지금WPF UserControl이 사용자 정의 UserControl 클래스에서 상속되었습니다.
public class MyUserControlBase: UserControl, IMyInterface1, IMyInterface2
{..}
아래와 같이 내 기본 클래스가 뭔가, 내가
public partial class MyUserControl: MyUserControlBase
그러나 그것에
public partial class MyUserControl: UserControl //This is by default when the project was created.
에서 UserControl을 클래스 서명을
을 변경 한 " 'UI.MyUserControl'의 부분 선언에서 다른 기본 클래스를 지정해서는 안됩니다."
내가 실행하도록 변경해야하는 사항을 제안하십시오.