コード例 #1
0
        private void btnEdit_Click(object sender, System.EventArgs e)
        {
            EditServerListing dlg = new EditServerListing();

            dlg.EditListing(m_selectedListing, this);

            dlg.Dispose();
            PopulateServerList();
            UpdateButtonState();
            UpdateDisplay();
        }
コード例 #2
0
        private void btnAdd_Click(object sender, System.EventArgs e)
        {
            EditServerListing dlg = new EditServerListing();

            dlg.ShowDialog(this);

            dlg.Dispose();
            PopulateServerList();
            UpdateButtonState();
            UpdateDisplay();
        }