我可以从子表单中关闭主表单吗?

时间:2019-03-29 11:40:42

标签: c++builder

此代码可以吗?我调用MainForm-> Close()后执行点可以正确返回吗?子表格会被正确关闭吗?

 if (pivot.pivotType == "Chart") {
    ChartObjects xlCharts = (ChartObjects) xlWorkSheetPivot.ChartObjects (Type.Missing);

    ChartObject myChart = (ChartObject) xlCharts.Add (oPivotTable.TableRange2.Left + 350, last.Top, 400, 200);

    Chart chartPage = myChart.Chart;
    chartPage.SetSourceData (oPivotTable.TableRange2, misValue);
    chartPage.ChartType = (XlChartType) pivot.chartType.id;
 }

0 个答案:

没有答案