在Winfom中创建历史记录按钮 [英] Creating a history button in winfom
本文介绍了在Winfom中创建历史记录按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
有没有办法在winform中创建一个历史记录按钮,即我正在设计一个名为displayform的应用程序,该应用程序中具有datagridview的其他窗体使用displayform来显示其记录,现在我想添加一个按钮"返回",该onclick会将您带回到使用显示表单的表单.
Hey guys
is there any way to create a history button in winform i.e i am designing an app with a form called displayform, the displayform is used by other forms in the app which has datagridview to display their records now i want to add a button ''back'' which onclick takes you back to the form that is using the display form.
推荐答案
您要在模式对话框窗口中打开显示表单吗?
(即您是使用Show()还是ShowDialog()方法打开显示表单?)
Hi,
Are you opening the display form in modal dialog window ?
(i.e. are you using Show() or ShowDialog() method to open the displayform?)
这篇关于在Winfom中创建历史记录按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文