private void toolStripMenuItemPlotProperty_Click(object sender, EventArgs e) { Point location = this.PtMouseStart; XYPlot xyPlot = GetXYPlot(location); if (xyPlot != null) { xyPlot.SetPlotTitle(); XYPlotSettingDlg dlg = new XYPlotSettingDlg(xyPlot.XYPlotSettings, xyPlot); dlg.InitialDialog(); if (dlg.ShowDialog() == DialogResult.OK) { } } }