How is the default constructor of System.Drawing.Graphics removed?
- by Albert Iordache
When I try to create an object of Graphics, why doesn't the following work?
System.Drawing.Graphics graphicsObj = new System.Drawing.Graphics();
(I am aware that I could create a private System.Windows.Forms.Panel Obj; and then do CreateGraphics() if I wanted it to work)
I tried to find a custom constructor for Graphics, but I couldn't find one. Where did Microsoft define it, or how did it block it?