// Remover private void btnRemoveCentro_Click(object sender, EventArgs e) { addOrEditCentro = 2; funcoesAux.clearAllListBox(); funcoesCentros.ClearItems(); funcoesCentros.HideAll(); funcoesAux.LockButtons(); funcoesCentros.ResetAll(); funcoesCentros.MostrarCentro(); funcoesCentros.BtnVisibles(); funcoesAux.DisableListBox(); funcoesCentros.ReadOnlyCentro(); funcoesCentros.ShowConfCancBtn(); funcoesAux.HideButtons(); }
public void listBoxCentroAlterada() { if (myForm.listBox1.SelectedIndex > -1) { myForm.centroAtual = myForm.listBox1.SelectedIndex + 1; funcoesAux.clearAllListBox(); ClearItems(); HideAll(); funcoesAux.HideButtons(); ResetAll(); MostrarCentro(); BtnVisibles(); ShowEditRemBtn(); funcoesAux.UnlockButtons(); } }