private void templateController_TemplateShapeControlPointMappingModified(object sender, TemplateControllerPointMappingChangedEventArgs e)
 {
     EnableButtons();
 }
		private void templateController_PointMappingChanged(object sender, TemplateControllerPointMappingChangedEventArgs e) {
			if (!templateModified) templateModified = true;
			previewPanel.Invalidate();
		}