private void OnSketchFinished()
{
ConfigUtil.type = "water";
//send a space to hide the construction toolbar
SendKeys.SendWait(" ");
//Create form and pass initialization parameters
if (m_form != null)
m_form = new PointsAlongLineForm(m_editor);
//Show the dialog modal
m_form.ShowDialog();
}