
看同事的代码看到了如下两段:
1. public partial class FormStartSet : Office2007Form { public delegate void returnvalue(string str); public returnvalue ReturnValue; …… 2. FormStartSet f = new FormStartSet(); f.ReturnValue += new returnvalue(showvalue); …… 不是很懂,事件是 ReturnValue ?
勿笑话哈。
1 octalempyrean OP 不知道怎么关闭主题,知道答案了,看见勿回复啦;谢谢。 |