Ejemplo n.º 1
0
        private void realizarSorteioToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormSortear formSortear = new FormSortear();

            formSortear.MdiParent = this;
            formSortear.Show();
        }
Ejemplo n.º 2
0
        private void UserControlProd_Click(object sender, EventArgs e)
        {
            if (verd)
            {
                LimparFlow((FlowLayoutPanel)this.Parent);
            }

            if (this.BackColor == Color.Gray)
            {
                this.BackColor = Color.Maroon;
            }
            else
            {
                this.BackColor = Color.Gray;
            }

            if (verd)
            {
                FormSortear s = (FormSortear)this.Parent.Parent.Parent;
                s.Sortear(this);
            }
        }