Example #1
0
        public Map_Code_Viewer NewMapFile()
        {
            Map_Code_Viewer mcv = new Map_Code_Viewer();

            mcv.F1        = this;
            mcv.MdiParent = this;
            mcv.Show();
            return(mcv);
        }
Example #2
0
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Map_Code_Viewer mcv = NewMapFile();

            if (mcv != null)
            {
                if (!mcv.OpenMapCode())
                {
                    mcv.Close();
                }
            }
        }