Beispiel #1
0
 protected internal void CallEvent(PointEventArgs e, EventHandler <PointEventArgs> handler)
 {
     if (e != null && handler != null)
     {
         handler.Invoke(this, e);
     }
 }
Beispiel #2
0
 protected internal void OnDrawn(PointEventArgs e)
 {
     CallEvent(e, Drawn);
 }
Beispiel #3
0
 static void DrawPoint(object sender, PointEventArgs e)
 {
     Console.SetCursorPosition(e.X, e.Y);
     Console.WriteLine(e.Sym);
 }