private void button1_Click(object sender, EventArgs e)
{
fpSpread1.StartAnnotationMode(true);
//fpSpread1.StartAnnotationMode();
}
private void button2_Click(object sender, EventArgs e)
{
fpSpread1.StopAnnotationMode();
}
private void fpSpread1_AnnotationModeStarting(object sender, FarPoint.Win.Spread.AnnotationModeEventArgs e)
{
e.DrawingSurface.ForeColor = Color.BlueViolet;
e.DrawingSurface.BackColor = Color.Thistle;
}
private void fpSpread1_AnnotationModeEnding(object sender, FarPoint.Win.Spread.AnnotationModeEventArgs e)
{
listBox1.Items.Add("Stop Drawing");
}