예제 #1
0
 /// <summary>
 /// Raises the <see cref="MazeChanged"/> event.
 /// </summary>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 /// <remarks></remarks>
 private void OnMazeChanged(MazeEventArgs e)
 {
     EventHandler<MazeEventArgs> handler = MazeChanged;
     if (handler != null) handler(this, e);
 }
예제 #2
0
 /// <summary>
 /// Handles the MazeChanged event of the Maze control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Labyrinth.MazeEventArgs"/> instance containing the event data.</param>
 /// <remarks></remarks>
 void MazeMazeChanged(object sender, MazeEventArgs e)
 {
     EventHandler<MazeEventArgs> handler = MazeChanged;
     if (handler != null) handler(this, new MazeEventArgs(Maze));
 }