Example #1
0
 private void decodeBeeperToolStripMenuItem_Click(object sender, EventArgs e)
 {
     BaseForm childForm = new DecodeBeeper();
     // Make it a child of this MDI form before showing it.
     childForm.MdiParent = this;
     childForm.Text = ActiveMdiChild.Text;
     childForm.SetDataBlock(((BaseForm)ActiveMdiChild).GetDataBlock());
     childForm.Show();
 }
Example #2
0
        private void decodeBeeperToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BaseForm childForm = new DecodeBeeper();

            // Make it a child of this MDI form before showing it.
            childForm.MdiParent = this;
            childForm.Text      = ActiveMdiChild.Text;
            childForm.SetDataBlock(((BaseForm)ActiveMdiChild).GetDataBlock());
            childForm.Show();
        }