/// <summary> Re-opens a previously closed tab using that tab's navigation log data then removes it from reopenabletabs. </summary> /// <param name="log"> The navigation log data from the previously closed tab. </param> public void ReOpenTab(NavigationLog log) { var Tab = NewTab(log.CurrentLocation, false); Tab.log.ImportData(log); ReopenableTabs.Remove(log); }
public void LoadData(NavigationLog log) { nav = log; var obj = log.CurrentLocation; tabTitle.Text = obj.DisplayName; image1.Source = obj.ThumbnailSource(16, ShellThumbnailFormatOption.IconOnly, ShellThumbnailRetrievalOption.Default); this.ToolTip = obj.ParsingName; }
public void Logger(int UserID, int PageID, DateTime Date, string BrowserInfo) { NavigationLog log = new NavigationLog(); log.UserID = UserID; log.PageID = PageID; log.Date = Date; log.BrowserInfo = BrowserInfo; try { LogRepo.Create(log); } catch (Exception e) { throw new Exception("Not able to create log"); } }
public NavigationLogEventArgs(NavigationLog log) { _obj = log; }
/// <summary> /// Navigate within the navigation log. This does not change the set of /// locations in the navigation log. /// </summary> /// <param name="navigationLogIndex">An index into the navigation logs Locations collection.</param> /// <returns>True if the navigation succeeded, false if it failed for any reason.</returns> public bool NavigateLogLocation(int navigationLogIndex) { return(NavigationLog.NavigateLog(navigationLogIndex)); }
/// <summary> /// Navigates within the navigation log. This does not change the set of /// locations in the navigation log. /// </summary> /// <param name="direction">Forward of Backward</param> /// <returns>True if the navigation succeeded, false if it failed for any reason.</returns> public bool NavigateLogLocation(NavigationLogDirection direction) { return(NavigationLog.NavigateLog(direction)); }
public TabItem(IListItemEx ShellObject) { this.ShellObject = ShellObject; log = new NavigationLog(ShellObject); }