private async void InitializeAsync(TMain tMain) { Task.Run(() => { ExtenstionConnection ec = new ExtenstionConnection(); ec.ChromeConnectionSend(tMain); }); Task.Run(() => { deviceListAndOpen devList = new deviceListAndOpen(); devList.ConnectToBridge(tMain); }); HIOStaticValues._signalCheckDevice.WaitOne(); //FREE Commands ic = new Commands(); bool res = await Task.Run(() => { return(ic.IsConnection()); }); if (res == true) { IsConnected = true; } else { IsConnected = false; } }
public TTabManager(TMain parent) { Parent = parent; }