Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="eventIdList"></param>
        public void Remove()
        {
            List <Guid> wGuids = new List <Guid>();

            foreach (DataGridViewRow row in grdLogs.SelectedRows)
            {
                wGuids.Add((Guid)row.Cells["Id"].Value);
            }
            try
            {
                _Target.Remove(wGuids);
                currentEvents.Remove(wGuids);
                grdLogs.Refresh();
            }
            catch (Exception ex)
            {
                ExceptionViewer.Show(ex);
            }
        }