public void FunctionActivatedRaised() { var target = new MapFunction(); var flag = false; target.FunctionActivated += (sender, args) => flag = true; target.Activate(); Assert.AreEqual(true, flag); }
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(); }