private void AddInfo_Click(object sender, EventArgs e) { if (jaLi) { Infos info = new Infos(this, listaGrande); info.ShowDialog(this); } else { MessageBox.Show("Erro. Clique em Ler", "Erro"); } }
private void AddInfo_Click(object sender, EventArgs e) { Infos info = new Infos(this, list); info.ShowDialog(this); }