public void closedWin() { winscan.Close(); }
public void resetForm(ScannerModel scannerModel) { scanerwindow.Close(); scanerwindow = new ScannerPage(Images); scanerwindow.Show(); }