阅读背景:

在.Net中传递值

来源:互联网 

I want to pass an integer value to a form in .Net so that it can load the right data. I'm using this so that when I double click on a record in a list, a form opens with the data from that record loaded so it can be edited. What is the best way to do this? Should I create a property and set it before calling the Show() method, or should I overload the constructor or something and send the value in as an initialisation value that way?I want to pass an integer value to a form in .N




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: