예제 #1
0
 //处理数据事件
 public void onGData(object sender, cGatherDataEventArgs e)
 {
     if (e_TaskStarted != null && !e.Cancel)
     {
         e_GData(sender, e);
     }
 }
 //���������¼�
 public void onGData(object sender, cGatherDataEventArgs e)
 {
     if (e_TaskStarted != null && !e.Cancel)
     {
         e_GData(sender, e);
     }
 }
예제 #3
0
        //д�����¼�
        private void tManage_GData(object sender, cGatherDataEventArgs e)
        {
            try
            {
                //д�ɼ����ݵ�����Datagridview
                Int64 TaskID = e.TaskID;
                DataTable gData = e.gData;
                string conName = "sCon" + TaskID;
                string pageName = "page" + TaskID;

                SetValue(this.tabControl1.TabPages[pageName].Controls[conName].Controls[0].Controls[0], "gData", gData);
            }
            catch (System.Exception ex)
            {
                InvokeMethod(this, "ExportLog", new object[] { ex.Message });
            }
        }