Windows应用程序中的后退按钮代码

编程入门 行业动态 更新时间:2024-10-25 04:16:11
本文介绍了Windows应用程序中的后退按钮代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在用Core JAVA开发一个项目,现在遇到了问题.有两种形式,即Form1和Form2.在Form1中,单击确定"按钮时,必须打开Form2.在Form2中,单击返回"按钮时,必须打开Form1. 我首先编译并执行了FORM1,它第一次可以正确运行.但是,在编译Form2时,会出现Form2的错误. 然后我们重新编译Form1,再次显示与Form2相同的错误. 为什么会出现此问题,我该如何解决?

I am working on a project in Core JAVA and now encountered with a problem. There are two forms, Form1 and Form2. In Form1, when button "OK" is clicked, then Form2 has to be opened. And in Form2 when button "BACK" is clicked, then Form1 has to be opened. I have first compiled and executed FORM1, it runs correctly for first time. But when Form2 is compiled,there comes the error for Form2. Then we re-compiled Form1, again the same error of Form2 is showing. Why is this problem occurred and how could I resolve it????

推荐答案

将其设置为向导.那具有您要使用下一个/后退功能搜索的功能,等等. 这比其他任何事情都简单得多.您只需要将向导下的窗口/对话框"更改为向导即可.很简单. 向导-教程 [ ^ ] Make it a Wizard. That one has the capability that you are searching with next/back function and so on. That is much simpler than anything else. You just need to change the Window/Dialog underneath to a Wizard. Pretty simple. Wizzard - Tutorial[^]

更多推荐

Windows应用程序中的后退按钮代码

本文发布于:2023-11-24 18:54:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1626423.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   按钮   代码   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!