C#:如何将帮助文件链接到MDI应用程序 [英] C#: How to link help file to mdi application

查看:71
本文介绍了C#:如何将帮助文件链接到MDI应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我正在开发一个C#应用程序.在我的应用程序中,我想在菜单项中显示帮助文件.这就是为什么iam使用此代码的原因

hello everybody

I am developing a c# application. In my application I want to show help file in menu item. Thats why iam using this code

private void helpfileToolStripMenuItem_Click(object sender, EventArgs e)
{
    Help.ShowHelp(this.menuStrip1,chmpath);
}



它运行良好,但问题是如果我以mdi形式转到另一个子表单,则帮助文件没有最小化.

默认情况下,如何在MDI表单中最小化和最大化帮助文件,并在我的mdi表单中设置wich属性?
感谢您的帮助.



it is working well but the problem is if i goto another child form in my mdi form the help file not minimized.

How do I minimize and maximize the help file in a MDI form by default and wich properties are set in my mdi form?

Thanks for the help.

推荐答案

您将必须手动执行此操作.我建议无论何时尝试打开MDI子窗体,都要检查是否打开了帮助文件,然后将其最小化.
You are going to have to do this manually. I suggest that whenever you attempt to open an MDI child form, you check to see if the help file is open it and then minimize it.


这篇关于C#:如何将帮助文件链接到MDI应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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