Initialize bookmarks after initializing the Database connection.
This commit is contained in:
parent
89965f1278
commit
d413a5a7ee
@ -217,6 +217,7 @@ namespace VEPROMS
|
||||
Properties.Settings.Default.DefaultDB = Database.SelectedDatabase;
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
displayBookMarks.SetupBookMarks();
|
||||
DateTime dtSunday = DateTime.Now.AddDays(-((int)DateTime.Now.DayOfWeek));
|
||||
ChangeLogFileName("LogFileAppender", Database.SelectedDatabase + " " + dtSunday.ToString("yyyyMMdd") + " ErrorLog.txt");
|
||||
_MyLog.InfoFormat("\r\nSession Beginning\r\n<===================== User: {0}/{1} Started {2} =====================>"
|
||||
|
@ -55,9 +55,9 @@ namespace Volian.Controls.Library
|
||||
public DisplayBookMarks()
|
||||
{
|
||||
InitializeComponent();
|
||||
SetupBookMarks();
|
||||
//SetupBookMarks();
|
||||
}
|
||||
private void SetupBookMarks()
|
||||
public void SetupBookMarks()
|
||||
{
|
||||
if (_MyBookMarks == null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user