コード例 #1
0
        private void btnConfirm_Click(object sender, EventArgs e)
        {
            int id = Convert.ToInt32(textBoxId.Text);

            currentCoord.deleteEvent(id);
            btnConfirm.Hide();
            btnDeny.Hide();
            lblMessage.Text = "Event with the ID " + id + " was successfully deleted";
        }