Beispiel #1
0
        private void logToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (pedidos != null)
            {
                pedidos.Close();
            }
            if (usuarios != null)
            {
                usuarios.Close();
            }
            if (clientes != null)
            {
                clientes.Close();
            }
            if (log != null)
            {
                log.Close();
            }
            if (proveedores != null)
            {
                proveedores.Close();
            }

            log             = new IFLog();
            log.MdiParent   = this;
            log.Dock        = DockStyle.Fill;
            log.WindowState = FormWindowState.Maximized;
            log.Show();
        }
        private void logToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (pedidos != null) pedidos.Close();
            if (usuarios != null) usuarios.Close();
            if (clientes != null) clientes.Close();
            if (log != null) log.Close();
            if (proveedores != null) proveedores.Close();

            log = new IFLog();
            log.MdiParent = this;
            log.Dock = DockStyle.Fill;
            log.WindowState = FormWindowState.Maximized;
            log.Show();
        }