DrawProfile() public method

draw the profile in the canvas
public DrawProfile ( IList profile ) : void
profile IList the profile of the beam system
return void
Esempio n. 1
0
 /// <summary>
 /// form is loaded
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BeamSystemForm_Load(object sender, EventArgs e)
 {
     // bound PropertyGrid to show beam system's properties
     beamSystemPropertyGrid.SelectedObject = m_data.Param;
     m_data.ParamsUpdated += new EventHandler(ParamsUpdated);
     // draw the profile
     m_sketch.DrawProfile(m_data.Lines);
 }