private void realizarSorteioToolStripMenuItem_Click(object sender, EventArgs e) { FormSortear formSortear = new FormSortear(); formSortear.MdiParent = this; formSortear.Show(); }
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); } }