/// <summary> /// constructor /// </summary> /// <param name="data">data related to UI</param> public BeamSystemForm(BeamSystemData data) { InitializeComponent(); m_data = data; // bound PictureBox to display the profile m_sketch = new BeamSystemSketch(previewPictureBox); }