//������������¼����ɼ���������ͨ���¼����д���
        private void On_RunSoukeyTask(object sender,cRunTaskEventArgs e)
        {
            string tClassName=e.RunName.Substring(0, e.RunName.IndexOf("\\"));
            string TaskName=e.RunName.Substring(e.RunName.IndexOf("\\")+1, e.RunName.Length - e.RunName.IndexOf("\\")-1);
            cGatherTask t = AddRunTask(tClassName, TaskName);

            if (t == null)
                return;

            Int64 TaskID = t.TaskID;

            //����Tab��ǩ
            InvokeMethod(this, "AddTab", new object[] { TaskID, TaskName });

            //���������
            m_GatherControl.Start(t);

            //��������ɹ���ʾ��Ϣ
            InvokeMethod(this, "ShowInfo", new object[] {TaskName ,rm.GetString ("TaskStarted")  });

            t = null;
        }
 /// <summary>
 /// �������񴥷�����Ӧִ��Soukey��ժ����ʱ���¼�
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void onRunSoukeyTask(object sender, cRunTaskEventArgs e)
 {
     e_RunTask(this, new cRunTaskEventArgs(e.MessType, e.RunName, e.RunPara));
 }
示例#3
0
 private void onRunSoukeyTask(object sender, cRunTaskEventArgs e)
 {
     e_RunTask(this, new cRunTaskEventArgs(e.MessType, e.RunName, e.RunPara));
 }