Esempio n. 1
0
        public event LynxCommonProcessHandler ProcComplete;             //定义简单的查询事件
        public void sendProcEvent(bool r, string s, object ReturnValue) //给出简单的查询返回,成功,失败和返回的结果集
        {
            LynxCommonProcessEventArgs leq = new LynxCommonProcessEventArgs(r, s, ReturnValue);

            if (ProcComplete != null)
            {
                ProcComplete(this, leq);
            }
        }
Esempio n. 2
0
        public event LynxCommonProcessHandler ListProcComplete; //定义简单的查询事件
        public void sendEvent(bool r, string s, object o)       //给出简单的查询返回,成功,失败和返回的结果集
        {
            LynxCommonProcessEventArgs leq = new LynxCommonProcessEventArgs(r, s, o);

            if (ListProcComplete != null)
            {
                ListProcComplete(this, leq);
            }
        }