Esempio n. 1
0
 private void decodeFrequencyToolStripMenuItem_Click(object sender, EventArgs e)
 {
     BaseForm childForm = new DecodeFrequency();
     // 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();
 }
Esempio n. 2
0
        private void decodeFrequencyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BaseForm childForm = new DecodeFrequency();

            // 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();
        }