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