C# Control ctsp = con as ToolStripMenuItem;
发布网友
发布时间:2024-10-06 19:31
我来回答
共1个回答
热心网友
时间:2024-12-02 22:36
System.Windows.Forms.ToolStripMenuItem类继承层次结构
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.ToolStripItem
System.Windows.Forms.ToolStripDropDownItem
System.Windows.Forms.ToolStripMenuItem
System.Windows.Forms.Control 类继承层次结构
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
ToolStripMenuItem不继承自System.Windows.Forms.Control,它们确实无法互相转换啊,