williambirkin

恭喜发财!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2006年12月11日

摘要: 目的:实现在主窗体中调用子窗体showdialog方法显示主窗体,并通过该方法传递自定义参数给子窗体。子窗体主要是传递父窗体到子窗体中。然后再调用this.ShowDialog(parent)就可。代码如下: public void ShowDialog(string customerID, IWin32Window parent, int Mode){ // //code ... 阅读全文
posted @ 2006-12-11 10:04 williambirkin 阅读(1522) 评论(0) 推荐(0) 编辑