Following an example subroutine that is executed as you click on your measure tool button
Oscar
private void measureclick(System.Object sender, System.EventArgs e)
{
var _with1 = Map1;
_with1.FunctionMode = FunctionMode.None;
mf = new MapFunctionMeasure(Map1);
_with1.MapFunctions.Add(mf);
mf.Activate();
}
private MapFunctionMeasure mf;
This works for me, hope it works for you tooOscar