[英]How can I make a class both implement an Interface and inherit from another class
[英]How can I implement an interface and inherit from a base class?
以下無效-
public partial class form1 : Form : ICloneable
有沒有在表單類上使用ICloneable的簡單方法?
實際上正確的方法是用逗號分開的:
public partial class form1 : Form, ICloneable
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.