Created
June 11, 2019 19:01
-
-
Save lucasemanuel/c49057883c68612d27382f959d944a52 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private int idProjeto; | |
public FrmProjeto(int idProjeto) | |
{ | |
InitializeComponent(); | |
abrirTelaMembros(); | |
//Seta o id do projeto selecionado do form FrmProjetos | |
this.idProjeto = idProjeto; | |
} | |
private void abrirTelaMembros() | |
{ | |
SidePanel.Height = btnAddMembros.Height; | |
SidePanel.Top = btnAddMembros.Top; | |
addMembrosControl1.BringToFront(); | |
//Seta o idProjeto no user control addMembrosControl: | |
addMembrosControl1.IdProjeto = idProjeto; | |
} | |
public int IdProjeto { get => IdProjeto;} | |
private void btnAddMembros_Click(object sender, EventArgs e) | |
{ | |
abrirTelaMembros(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment