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