private void updateChronopicWin(bool state, string message)
{
LogB.Information("updateChronopicWin-1");
//need to do this, if not it crashes because chronopicConnectionWin gets died by thread ending
//chronopicConnectionWin = ChronopicConnection.Show();
LogB.Information("updateChronopicWin-2");
if(state) {
//chronopicConnectionWin.Connected(message);
sensitivityConnected(message);
progressbar.Fraction = 1.0;
}
else
//chronopicConnectionWin.Disconnected(message);
sensitivityDisconnected(message);
needUpdateChronopicWin = false;
}