예제 #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();
        }
예제 #2
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();
        }