示例#1
0
        //生成板卡通过状态切换事件(在Running 状态下)
        protected void GenBoardStatusChangeEvent(Board board)
        {
            BoardStatusEventArgs e = new BoardStatusEventArgs();

            e.Board = board;
            EventHandler temp = OnBoardStatusChange;

            if (temp != null)
            {
                temp(this, e);
            }
        }
示例#2
0
 //生成板卡通过状态切换事件(在Running 状态下)
 protected void GenBoardStatusChangeEvent(Board board)
 {
     BoardStatusEventArgs e = new BoardStatusEventArgs();
     e.Board = board;
     EventHandler temp = OnBoardStatusChange;
     if (temp != null)
     {
         temp(this, e);
     }
 }