[英]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.