Esempio n. 1
0
        private void mnuBspReader_Click(object sender, System.EventArgs e)
        {
            try
            {
                if (_bspReader == null)
                {
                    _bspReader = new BspReaderControl();
                    _bspReader.Dock = DockStyle.Fill;
                }

                SetActiveControl(_bspReader);
            }
            catch (Exception ex)
            {
                MessageBox.Show(this, "Unable to load Bsp Reader. " + ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }