void CloseTraceWindow() { if (this.ScanTraceOverviewGrid.InvokeRequired) { CloseTraceWindow_d CALL_d = new CloseTraceWindow_d(CloseTraceWindow); this.ScanTraceOverviewGrid.Invoke(CALL_d, new object[] { }); } else { this.Close(); } }
void CloseTraceWindow() { if (this.ScanTraceOverviewGrid.InvokeRequired) { CloseTraceWindow_d CALL_d = new CloseTraceWindow_d(CloseTraceWindow); this.ScanTraceOverviewGrid.Invoke(CALL_d, new object[] { }); } else { this.Close(); } }