static void ResetWindowState(WindowState state) { state.Reset(); state.Stop(); state.masterSequence.viewModel.windowTime = 0.0; if (state.masterSequence.director != null) { state.masterSequence.director.time = 0.0; } }