public void ShowScatterDiagram() { FormPointsAnalysis fpa = new FormPointsAnalysis(frameServer.Metadata); FormsHelper.Locate(fpa); fpa.ShowDialog(); fpa.Dispose(); }
public void ShowDataAnalysis(AbstractDrawing drawing) { if (drawing is DrawingCrossMark) { FormPointsAnalysis fpa = new FormPointsAnalysis(frameServer.Metadata); FormsHelper.Locate(fpa); fpa.ShowDialog(); fpa.Dispose(); } else if (drawing is DrawingTrack) { FormTrackAnalysis fta = new FormTrackAnalysis(frameServer.Metadata, drawing as DrawingTrack); FormsHelper.Locate(fta); fta.ShowDialog(); fta.Dispose(); } }