void m_editEvents_OnSketchFinished() { //send a space to hide the construction toolbar SendKeys.SendWait(" "); //Create form and pass initialization parameters m_form = new PointsAlongLineForm(m_editor); //Show the dialog modal m_form.ShowDialog(); }