private void BtnLocalizacao_Click(object sender, EventArgs e)
        {
            Principal oFrm  = (Principal)this.MdiParent;
            FrmMaps   oFrm1 = new FrmMaps();

            oFrm1.MdiParent = oFrm;
            oFrm1.Show();
        }
Example #2
0
        private void mapaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmMaps oFrm = new FrmMaps();

            oFrm.MdiContainer = this;
            oFrm.Show();
            MnuMapa.Enabled = true;
        }