如何使用C#在.NET中从一种形式转换为另一种可用形式(现有形式)并使用MDI [英] How to go from one form to another available form (existing form) in .NET with C# and use MDI

查看:80
本文介绍了如何使用C#在.NET中从一种形式转换为另一种可用形式(现有形式)并使用MDI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C#在.NET中从一种形式转换为另一种可用形式(现有形式)并使用MDI ..........我是基于Windows的应用程序中的新开发人员.

如果有人提供有关我的问题的详细信息的链接,请向我提供信息.

How do I go from one form to another available form (existing form) in .NET with C# and use MDI..........I am a new developer in windows based applications.

If anybody has any links for details of my question, please provide me with the information.

推荐答案

我建​​议^ ]是一个不错的起点.依靠网络论坛来解决最基本的问题是没有意义的,从一些书开始,并从一个基础知识的平台上提出问题.
I would suggest this[^] is a great place to start. There''s no point in relying on web forums for the most basic questions, start with some books and ask questions from a platform of basic knowledge.


只需创建如下形式的对象:
Just create an object of the form like:
form1 my_form=new form1();
my_form.show();


"仅创建如下形式的对象:
"just create an object of the form like:
form1 my_form=new form1();
my_form.show();

"

除非您永远不要这样做.如果要显示无模式表单,请确保它是成员变量,以便可以在需要时使用它,并确保按下创建它的按钮不会创建它们的流(或保留它们) (如果需要的话)在列表中.)

"

Except you should NEVER do this. If you want to show a modeless form, make sure it''s a member variable, so you can work with it if you need to and so that pushing the button that creates it doesn''t create a stream of them (or keep them in a list if this is what you want.)


这篇关于如何使用C#在.NET中从一种形式转换为另一种可用形式(现有形式)并使用MDI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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