Пример #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);
     }
 }