private void btn修改_Click(object sender, EventArgs e)
        {
            if (m_cm.DisplayManager.CurrentItem != null)
            {
                ArchiveOperationForm.DoEditS(m_cm, m_gridName);
                UpdateContent(m_cm, m_gridName);

                m_cm.DisplayManager.OnSelectedDataValueChanged(new SelectedDataValueChangedEventArgs("任务性质", m_cm.DisplayManager.DataControls["任务性质"]));
            }
        }
Beispiel #2
0
        private void btn修改_Click(object sender, EventArgs e)
        {
            if (m_cm.DisplayManager.CurrentItem != null)
            {
                进口票 entity = m_cm.DisplayManagerT.CurrentEntity;
                if (!Check票(entity))
                {
                    return;
                }

                ArchiveOperationForm.DoEditS(m_cm, m_gridName);
                UpdateContent(m_cm, m_gridName);
            }
        }
Beispiel #3
0
 private void btn修改_Click(object sender, EventArgs e)
 {
     if (m_cm.DisplayManager.CurrentItem != null)
     {
         进口票 entity = m_cm.DisplayManagerT.CurrentEntity;
         if (entity.IsActive)
         {
             MessageForm.ShowWarning("此进口票已经预录入发送!");
             return;
         }
         ArchiveOperationForm.DoEditS(m_cm, m_gridName);
         UpdateContent(m_cm, m_gridName);
     }
 }
Beispiel #4
0
        private void btn修改_Click(object sender, EventArgs e)
        {
            if (m_cm.DisplayManager.CurrentItem != null)
            {
                任务 entity = m_cmT.DisplayManagerT.CurrentEntity;
                if (!任务备案确认主界面.Check任务(entity))
                {
                    return;
                }
                ArchiveOperationForm.DoEditS(m_cm, m_gridName);
                UpdateContent(m_cm, m_gridName);

                m_cm.DisplayManager.OnSelectedDataValueChanged(new SelectedDataValueChangedEventArgs("任务性质", m_cm.DisplayManager.DataControls["任务性质"]));
            }
        }
Beispiel #5
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.DoEditS(m_cm, m_gridName);
                UpdateContent(m_cm, m_gridName);

                m_cm.DisplayManager.OnSelectedDataValueChanged(new SelectedDataValueChangedEventArgs("任务性质", m_cm.DisplayManager.DataControls["任务性质"]));
            }
        }