Draw crosshairs on the screen - ZedGraph
Mis-Matching curly braces are not a good thing, you do it all over the place, it makes your code hard to read


   if (fromKeyboard)
       point = curve.Points[index1];
    else if (lineGraphControl1.Graph.XAxis.Mode == XAxisMode.Parameter)
    {
        ZedGraph.CurveItem outputCurve;
        p.FindNearestPoint(mousePoint, curve, out outputCurve, out index1);
        if (index1 &gt;= 0)
           point = curve.Points[index1];
    }
    else
    {



it should look like this

   if (fromKeyboard)
   {
       point = curve.Points[index1];
   }
   else if (lineGraphControl1.Graph.XAxis.Mode == XAxisMode.Parameter)
   {
        ZedGraph.CurveItem outputCurve;
        p.FindNearestPoint(mousePoint, curve, out outputCurve, out index1);
        if (index1 &gt;= 0)
           point = curve.Points[index1];
   }
   else
   {


Indentation only on an if statement all by itself is fine, I personally don't like it, but when an else statement is added to the if statement, it starts to muddy the waters around your if statement and make it look sloppy.



The single, one-line if statements should also have a buffer zone after them as well.