private void openViewerWindow() { if (!windowShowing) { imageWindow = new ImageViewerWindow(); imageWindow.IM = this; imageWindow.Show(); windowShowing = true; } }
public void Start() { // make the control window window = new ControlWindow(); StartCameraControl(); Imageviewer = new ImageViewerWindow(); window.controller = this; Fitter = new WavemeterFitterHelper(); NewFitter = new NewWavemeterfitterhelper(); Application.Run(window); }