Saturday 15 September 2012

Vb.net equivalent of C# -


What is the vb.net code (c #) equivalent to the same mouseDown event shown below? How do I implement this event in Vb.net?

Thank you in advance, Goicox

  var model = new PlotModel ("MouseDown HitTestResult", "The nearest point of the index that indicates the index."); Var s1 = New LineSeries (); S1.Points.Add (new datapoint (0, 10)); S1.Points.Add (new datapoint (10, 40)); S1.Points.Add (new datapoint (40, 20)); S1.Points.Add (new datapoint (60, 30)); Model.Series.Add (S1); S1.MouseDown + = (s, e) = & gt; {Model.Subtitle = "Index of Nearby Point in LineSeries:" + Math.Round (E. Hit Test Rational. Index;); Model.InvalidatePlot (wrong); };    

should make simple conversions:

  Moderate models = New PlotModel ("MouseDown Hit Test Result", "Index of Nearby Point.") Slow S1 = New Lineeries () s1.Points.Add (New Datapoint (0, 10)) s1.Points.Add (New Datapoint (10 , 40)) s1.Points.Add (new datapoint (40, 20)) s1.Points.Add (new datapoint (60, 30)) model. Series.ed (s1) s1.mobiledition + = function, e) model. Shabshile = "Indicator of the nearest point in the line series:" & amp; Mathematics.Round (E.HittestistRansalt.Inx) model. UnexpectedDetplate (False) and Function   

Source:

No comments:

Post a Comment