/// <summary> /// constructor /// </summary> /// <param name="profile">ProfileWall or ProfileFloor</param> public NewPathReinforcementForm(Profile profile) : this() { m_profile = profile; m_to2DMatrix = m_profile.To2DMatrix; m_moveToCenterMatrix = m_profile.ToCenterMatrix(); m_tool = new LineTool(); this.KeyPreview = true; //respond Form events first m_pointsPreview = new List<List<XYZ>>(); m_sizePictureBox = this.pictureBox.Size; }