Ejemplo n.º 1
0
 public void FunctionActivatedRaised()
 {
     var target = new MapFunction();
     var flag = false;
     target.FunctionActivated += (sender, args) => flag = true;
     target.Activate();
     Assert.AreEqual(true, flag);
 }
Ejemplo n.º 2
0
        public void FunctionActivatedRaised()
        {
            var target = new MapFunction();
            var flag   = false;

            target.FunctionActivated += (sender, args) => flag = true;
            target.Activate();
            Assert.AreEqual(true, flag);
        }
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     theMap.FunctionMode = FunctionMode.None;
     mClickZoomFunction.Activate();
 }