Example #1
0
 private void Main_Load(object sender, EventArgs e)
 {
     if (Session.Settings.StartLocalServiceWithStartUp)
     {
         MongoGeneralLogic.StartLocalHost(Session.Settings.MongoInstallationPath, Session.Settings.LocalHostDataFilesPath);
     }
     //NewConnection();
     NewConnection(Session.Settings.Servers.FirstOrDefault());
 }
Example #2
0
 private void BtnLocalHostStart_Click(object sender, EventArgs e)
 {
     MongoGeneralLogic.StartLocalHost(Session.Settings.MongoInstallationPath, Session.Settings.LocalHostDataFilesPath);
 }