I have MDI application where i need to open multiple views to show different
shapes. When i toggle between different views of my application GDI object count keeps on incresing. Also, when i close one view GDI count should decrese by the amount it had increased before opening the view, but it doesn't decrese. That means GDI objects are not being released properly.