public void FlightSimulatorX_IsFrozen_Set_Sends_Correct_Commands_To_FSX() { _Fsx.Connect(new IntPtr(10)); _Fsx.IsFrozen = true; Assert.IsTrue(_Fsx.IsFrozen); VerifyFreezeSent(Times.Once()); }
private void View_ConnectClicked(object sender, EventArgs args) { _View.ConnectToFlightSimulatorXEnabled = false; _FlightSimulatorX.Connect(_View.WindowHandle); }