This commit is contained in:
parent
c4f381e9c4
commit
93de3c4515
@ -47,13 +47,22 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
private void SetupBookMarks()
|
||||
{
|
||||
if (_MyBookMarks == null)_MyBookMarks = MostRecentItemList.GetMRILst((System.Collections.Specialized.StringCollection)(Properties.Settings.Default["BookMarks"]));
|
||||
if (_MyBookMarks == null)
|
||||
{
|
||||
_MyBookMarks = MostRecentItemList.GetMRILst((System.Collections.Specialized.StringCollection)(Properties.Settings.Default["BookMarks"]));
|
||||
_MyBookMarks.AfterRemove += new ItemInfoEvent(_MyBookMarks_AfterRemove);
|
||||
}
|
||||
lbxBookMarks.SelectedValueChanged += new EventHandler(lbxBookMarks_SelectedValueChanged);
|
||||
RefreshBookMarkData();
|
||||
//btnPrevPos.Enabled = false;
|
||||
//lbxBookMarks.Enabled = false;
|
||||
//_PrevBookMark = null;
|
||||
}
|
||||
|
||||
void _MyBookMarks_AfterRemove(object sender)
|
||||
{
|
||||
RefreshBookMarkData();
|
||||
}
|
||||
private void RefreshBookMarkData()
|
||||
{
|
||||
lbxBookMarks.DataSource = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user