private void btnAdd_Click(object sender, System.EventArgs e) { EditServerListing dlg = new EditServerListing(); dlg.ShowDialog(this); dlg.Dispose(); PopulateServerList(); UpdateButtonState(); UpdateDisplay(); }