在Windows应用程序中查看,修改,删除 [英] View,Modify,Delete in Windows Application

查看:104
本文介绍了在Windows应用程序中查看,修改,删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Windows应用程序中创建全局工作表以及如何以不同的形式使用

How to made a global sheet in windows applications and how to use in different forms

推荐答案

1。创建一个静态类并将两个静态成员放入其中。

2.从form2将variable1的值设置为某个主键,并将variable2的值设置为''modify''或''delete'' 。

3.打开form1

4.在variable1的基础上将记录取入字段。

5.并在此基础上变量2中的值显示''修改''或''删除''按钮。



i希望现在你可以继续.........



如果有帮助,请标记为答案。
1. create a static class and put two static member into it.
2. from form2 set the value of variable1 to some primary key and set value of variable2 to ''modify'' or ''delete''.
3. open form1
4. on the basis of variable1 fetch the record into the fields.
5. and on the basis of value in variable2 display ''modify'' or ''delete'' button.

i hope now you can continue further.........

please, mark as answer if it helps.


这篇关于在Windows应用程序中查看,修改,删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆