private void plotPropertyToolStripMenuItem_Click(object sender, EventArgs e) { XYPlotSettingDlg dlg = new XYPlotSettingDlg(XYPlot1.XYPlotSettings, XYPlot1); dlg.InitialDialog(); if (dlg.ShowDialog() == DialogResult.OK) { } }
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) { } } }