/// <summary> /// removes favourite from fave object /// makes sure data is not being edited /// updates panel to reflect new list of links /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// <param name="url"></param> private void RemoveFavourite(object sender, EventArgs e, string url) { fave.RemoveFromFavourites(url); curTab.WaitForUpdate(); PanelUpdate(); }
/// <summary> /// removes history from history object /// makes sure data is not being edited /// updates panel to reflect new list of links /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// <param name="url"></param> private void RemoveHistory(object sender, EventArgs e, string url) { history.RemoveFromHistory(url); curTab.WaitForUpdate(); PanelUpdate(); }