终于搞定c#中对mdi的操作,代码见内(parent部分)

作者:袖梨 2022-07-02
花了我一上午的时间,找来找去找不到答案,又是急性子,只好自己动手了,见笑,也请大家多提意见,谢了。
parent.cs
------------------------------------------------------------
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace testagain
{
    ///
    /// Summary description for parent.
    ///

    public class parent : System.Windows.Forms.Form
    {
        private System.Windows.Forms.MainMenu mainMenu1;
        private System.Windows.Forms.MenuItem m_FileMenu;
        private System.Windows.Forms.MenuItem m_OpenFile;
        private System.Windows.Forms.MenuItem m_Close;
        private System.Windows.Forms.MdiClient mdiClient1;
        private System.Windows.Forms.MenuItem menuItem1;
        ///
        /// Required designer variable.
        ///

        private System.ComponentModel.Container components = null;
        public parent()

相关文章

精彩推荐