Use new out syntax

This commit is contained in:
John Lewin 2019-01-03 17:52:24 -08:00
parent 416c0015b8
commit be6f2fd455

View file

@ -219,8 +219,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
public static Emulator LaunchAndConnectToPrinterEmulator(this AutomationRunner testRunner, string make = "Airwolf 3D", string model = "HD", bool runSlow = false)
{
SystemWindow systemWindow;
testRunner.GetWidgetByName("Hardware Tab", out systemWindow, 10);
var hardwareTab = testRunner.GetWidgetByName("Hardware Tab", out SystemWindow systemWindow, 10);
// make sure we wait for MC to be up and running
testRunner.WaitforDraw(systemWindow);