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