Exemplo n.º 1
0
        private void toolStripButton_Config_Click(object sender, EventArgs e)
        {
            if (frmConfig == null || frmConfig.IsDisposed)
            {
                frmConfig           = new  FormConfig();
                frmConfig.MdiParent = this;
                frmConfig.Width     = CHILDFORM_WIDTH;
                frmConfig.Height    = CHILDFORM_HEIGHT;
            }



            frmConfig.WindowState = FormWindowState.Maximized;

            frmConfig.Show();
            frmConfig.Activate();
        }