private void addProjectButton_Click(object sender, EventArgs e) { this.Hide(); Form f = new createEditForm(); f.Closed += (s, args) => this.Close(); f.Show(); }
public void retornaEdicao(int IdProjeto) { ListViewItem selectItem = listViewProj.SelectedItems[0]; IdProjeto = (int)selectItem.Tag; this.Hide(); Form f = new createEditForm(IdProjeto); f.Closed += (s, args) => this.Close(); f.Show(); }