예제 #1
0
 /// <summary>
 ///     Event generation code
 /// </summary>
 /// <param name="value"> </param>
 protected virtual void OnChanged(MatrixEventArgs <T> value)
 {
     Changed?.Invoke(this, value);
 }
예제 #2
0
 public static void ForEvent(object sender, MatrixEventArgs <int> args)
 {
     Console.WriteLine($"Element[{args.I},{args.J}](old)=\"{args.Old}\"  =>  Element[{args.I},{args.J}](new) =\"{args.New}\"");
 }