In my current program I'm using some features of .NET 4.0 - specifically the Charting API ( System.Windows.Forms.DataVisualization.Charting
). I will ship the application, but I'm not sure the client has the .NET 4.0 installed.
Is it possible to add some hooks/event handlers to disable this feature in my program as it's not vital for it's function?
My idea is that when user clicks on Show Chart
button, message will be shown - "Please install NET 4.0+". I would prefer not to ship 2 versions of my program.