コード例 #1
0
ファイル: cPublishManage.cs プロジェクト: zhouweiaccp/code
        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);
            }
        }
コード例 #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);
        }
コード例 #3
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);
            }
        }