Esempio n. 1
0
        private void onPublishError(object sender, PublishErrorEventArgs e)
        {
            //从当前列表中删除此记录
            cPublishTask pt = (cPublishTask)sender;

            m_ListPublish.Remove(pt);
            pt = null;

            if (e_PublishError != null && !e.Cancel)
            {
                e_PublishError(sender, e);
            }
        }
Esempio n. 2
0
        private void Publish_Error(object sender, PublishErrorEventArgs e)
        {
            InvokeMethod(this, "UpdateTaskPublished", new object[] { e.TaskID ,cGlobalParas.GatherResult.PublishFailed });

            InvokeMethod(this, "ShowInfo", new object[] {e.TaskName, rm.GetString("TaskPublishFailed")});

            InvokeMethod(this, "UpdateStatebarTask", null);
        }
        private void onPublishError(object sender, PublishErrorEventArgs e)
        {
            //�ӵ�ǰ�б���ɾ���˼�¼
            cPublishTask pt = (cPublishTask)sender;
            m_ListPublish.Remove(pt);
            pt = null;

            if (e_PublishError != null && !e.Cancel)
            {
                e_PublishError(sender, e);
            }
        }