Beispiel #1
0
        // ---------------------------
        // --- MENU DE BAIXO ---
        // ---------------------------

        private void mnuOverview_Click(object sender, EventArgs e)
        {
            CloseForms();
            AppOverviewWindow newMdiChild = new AppOverviewWindow();

            newMdiChild.MdiParent   = this;
            newMdiChild.ControlBox  = false;
            newMdiChild.WindowState = FormWindowState.Maximized;
            newMdiChild.Show();
        }
Beispiel #2
0
        public AppMainWindow()
        {
            InitializeComponent();

            // Inicializa o Form OVERVIEW
            AppOverviewWindow newMdiChild = new AppOverviewWindow();

            // Aplica o Form PAI no Form FILHO
            newMdiChild.MdiParent = this;
            // Desabilita o ControlBox (Minimizar, Maximizar e Fechar)
            newMdiChild.ControlBox = false;
            // Maximiza a Janela
            newMdiChild.WindowState = FormWindowState.Maximized;
            // Mostra o novo Form
            newMdiChild.Show();
        }