protected override void OnClosed(EventArgs e) { PointCloudScannerSettings.Height = this.Height; PointCloudScannerSettings.Width = this.Width; PointCloudScannerSettings.SaveSettings(); GLSettings.SaveSettings(); if (scannerUC != null) { scannerUC.StopScanner(); } base.OnClosed(e); }
private void buttonOK_Click(object sender, EventArgs e) { PointCloudScannerSettings.SaveSettings(); }
private void Window_Closed(object sender, EventArgs e) { this.PointCloudUC.ScannerClose(); PointCloudScannerSettings.SaveSettings(); }