public void LoadPage(CallInfo callInfo) { Logger.Log("Loading page"); HideWindow(); ClearPendingActions(); Show(); if(callInfo != null) callInfo.Session.SessionStateChanged -= Session_SessionStateChanged; this.callInfo = callInfo; currentUrl = callInfo.Url; callInfo.Session.SessionStateChanged += Session_SessionStateChanged; documentReady = false; Logger.Log("Loading current url: " + currentUrl); Source = new Uri(currentUrl); //WebView.Reload(true); }
public IncomingCallPopup(CallInfo content) { InitializeComponent(); DataContext = content; }