Example #1
0
        private void btnProfi_Click(object sender, EventArgs e)
        {
            if (childCurriculo == null)
            {
                childCurriculo                 = new FCadastroCurriculo(idCandidato);
                childCurriculo.MdiParent       = this;
                childCurriculo.FormBorderStyle = FormBorderStyle.None;
                childCurriculo.Dock            = DockStyle.Fill;
                childCurriculo.InicializaCurriculo(idCandidato);
                childCurriculo.Show();
            }
            childCurriculo.BringToFront();

            btnProfi.BackColor    = Color.FromArgb(0, 66, 151);
            btnInfo.BackColor     = Color.FromArgb(0, 120, 215);
            btnCreditos.BackColor = Color.FromArgb(0, 120, 215);
        }
Example #2
0
        private void FMenu_Load(object sender, EventArgs e)
        {
            btnProfi.BackColor = Color.FromArgb(0, 66, 151);

            lx            = this.Location.X;
            ly            = this.Location.Y;
            sw            = this.Size.Width;
            sh            = this.Size.Height;
            this.Size     = Screen.PrimaryScreen.WorkingArea.Size;
            this.Location = Screen.PrimaryScreen.WorkingArea.Location;

            if (childCurriculo == null)
            {
                childCurriculo                 = new FCadastroCurriculo(idCandidato);
                childCurriculo.MdiParent       = this;
                childCurriculo.FormBorderStyle = FormBorderStyle.None;
                childCurriculo.Dock            = DockStyle.Fill;
                childCurriculo.InicializaCurriculo(idCandidato);
                childCurriculo.Show();
            }
            childCurriculo.BringToFront();
        }