This project is read-only.

(C#)please! help me ~ I think this must be easy for you

Oct 9, 2013 at 9:24 AM
At first my english is pretty poor, and so does my coding ability.
I'm try to use the Measure Function in dotspatial.Plugins.Measure. And i'm too stupid to use it.
do this :
 private void btnMeasureClick(object sender, EventArgs e)
            MeasureDialog md = new MeasureDialog();
And, as you know,The dialog appears, but it is not responding to mouse clicks.
I'e read the "Using Measure Plugin", but still can't understand. I know nothing about VB.
Please, help me if you can~
PS: IF you can give some advice on learnning dotspatial, that would be perfect.

Thx in advance, and best wishes for you!
Feb 4, 2014 at 3:51 PM
Following an example subroutine that is executed as you click on your measure tool button
private void measureclick(System.Object sender, System.EventArgs e)
    var _with1 = Map1;

    _with1.FunctionMode = FunctionMode.None;
    mf = new MapFunctionMeasure(Map1);



private MapFunctionMeasure mf;
This works for me, hope it works for you too

Marked as answer by jany_ on 9/9/2014 at 1:39 AM
Feb 10, 2014 at 7:22 AM
Although i've solved this problem ,i'm very happy that you can help me !
Thank you very much!