private void btn删除_Click(object sender, EventArgs e)
 {
     if (m_cm.DisplayManager.CurrentItem != null)
     {
         ArchiveOperationForm.DoDeleteS(m_cm, m_gridName);
     }
 }
Ejemplo n.º 2
0
        private void btn删除_Click(object sender, EventArgs e)
        {
            if (m_cm.DisplayManager.CurrentItem != null)
            {
                任务 entity = m_cmT.DisplayManagerT.CurrentEntity;
                if (entity.IsActive)
                {
                    MessageForm.ShowWarning("此任务已经预录入发送!");
                    return;
                }

                ArchiveOperationForm.DoDeleteS(m_cm, m_gridName);
            }
        }