예제 #1
0
        private void menuTools_Click(object sender, EventArgs e)
        {
            bool              isMidiParent = true;
            ChildBase         frm          = null;
            ToolStripMenuItem con          = (ToolStripMenuItem)sender;

            if (con.Name == "menuTools_SeCT_Action")
            {
                frm = new FrmActions();
            }
            else if (con.Name == "menuTools_ClipBoard")
            {
                frm = new NTHClipBoard();
            }
            else if (con.Name == "menuTools_NTHMMSHelp")
            {
                frm = new NTHMMSHelp();
            }
            frm.Status += new ChildBase.delStatus(child_Status);
            if (isMidiParent)
            {
                frm.MdiParent = this;
            }
            frm.Show();
            Log.Write("Starting form " + frm.Name, this.Name, "menuTools_Click", Log.LogType.DEBUG);
        }
예제 #2
0
        private void menuTools_Click(object sender, EventArgs e)
        {
            bool isMidiParent = true;
            ChildBase frm = null;
            ToolStripMenuItem con = (ToolStripMenuItem)sender;

            if (con.Name == "menuTools_SeCT_Action")
            {
                frm = new FrmActions();
            }
            else if (con.Name == "menuTools_ClipBoard")
            {
                frm = new NTHClipBoard();
            }
            else if (con.Name == "menuTools_NTHMMSHelp")
            {
                frm = new NTHMMSHelp();
            }
            frm.Status += new ChildBase.delStatus(child_Status);
            if (isMidiParent)
            {
                frm.MdiParent = this;
            }
            frm.Show();
            Log.Write("Starting form " + frm.Name, this.Name, "menuTools_Click", Log.LogType.DEBUG);
        }