创建MDI应用程序 [英] Creating MDI application

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

问题描述

使用C#创建MDI应用程序

使用C#(演练)创建MDI应用程序 [
当我第二次从文件"菜单中选择新单曲"时,就会发生这种情况. 任何人都可以帮忙吗......

[edit]链接已转换为实际链接-OriginalGriff [/edit]

Creating MDI application using C#

Creating MDI application using C# (Walkthrough)[^]

when i tried this codes....

An error " Cannot access a disposed object. Object name: ''frmSChild...:"

This happens when i select "new single" from "File" menu Second time..
Can any one help please....

[edit]Link converted to actual link - OriginalGriff[/edit]

推荐答案

请确保您未通过代码处理frmSChild表单.
Ensure that you are not disposing off the frmSChild form via your code.


一个猜测,您没有正确遵循文章中的说明.

请勿在问题与解答"下发布此内容答案-如果您从某篇文章中获取了代码,那么该文章的底部会出现一个新消息"按钮,该按钮会导致向作者发送电子邮件.然后会通知他们您希望与他们交谈.
将其发布到此处依赖于他们的"drop by"并意识到它是针对他们的.
At a guess, you didn''t follow the instructions in the article correctly.

Don''t post this under Questions & Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.


请参阅此链接.....

使用C#创建MDI应用程序 [
see this link.....

Creating MDI application using C#[^]


这篇关于创建MDI应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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