Replace functionality of a simple web form with a professionally implemented PropertyGridControl in .Net 4.0 and C#.
Please see the example screen shots and c# class. Specific things being looked for are:
a. When the Bulk Density or Packing Ratio is changed the Particle Density should update (Particle Density = Bulk Density x Packing Ratio)
b. Properly format number of decimal places displayed. In screen shot you can see the calculated Particle Density displays too many.
c. In the Condition field there should be choices of Smooth, Rough, Interlocking and Custom. For the first three the Interparticle Friction should be set to read only values of 0.2, 0.3 and 0.6 respectively. If Custom is chosen the Interparticle friction can be entered by the user.
d. The Particle Size Distribution should be selected between Random and Custom. If Random is selected the Minimum Radius and Maximum Radius field should be available. If the Custom is selected the user should then have access to Radius1, Mass Fraction 1 through Radius4, Mass Fraction 4. The Mass Fractions should add up to 100%.
e. For entering the Custom Particle Size Distribution is there a more elegant way of entering this than entering 4 divisions.
The preference is to stay with .net controls and not additional 3rd party controls.
The Material class can be changed as needed.