示例#1
0
        private void onPublishFailed(object sender, PublishFailedEventArgs e)
        {
            //从当前列表中删除此记录
            cPublishTask pt = (cPublishTask)sender;

            m_ListPublish.Remove(pt);
            pt = null;

            if (e_PublishFailed != null && !e.Cancel)
            {
                e_PublishFailed(sender, e);
            }
        }
        private void Publish_Failed(object sender, PublishFailedEventArgs 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 onPublishFailed(object sender, PublishFailedEventArgs e)
        {
            //�ӵ�ǰ�б���ɾ���˼�¼
            cPublishTask pt = (cPublishTask)sender;
            m_ListPublish.Remove(pt);
            pt = null;

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