Some updates that should have been committed with the last rename

This commit is contained in:
David Sparer
2016-09-30 08:00:34 -06:00
parent f0da088836
commit 812cf21f98
4 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ namespace mRemoteNG.App
public static MessageCollector MessageCollector { get; set; }
public static Controls.NotificationAreaIcon NotificationAreaIcon { get; set; }
public static bool IsConnectionsFileLoaded { get; set; }
public static SqlConnectionsProvider SqlConnProvider { get; set; }
public static PeriodicConnectionsUpdateChecker SqlConnProvider { get; set; }
public static DateTime LastSqlUpdate { get; set; }
public static string LastSelected { get; set; }
public static ArrayList ExternalTools { get; set; } = new ArrayList();

View File

@@ -189,7 +189,7 @@ namespace mRemoteNG.App
{
if (Settings.Default.UseSQLServer)
{
SqlConnectionsProvider _sqlConnectionsProvider = new SqlConnectionsProvider();
PeriodicConnectionsUpdateChecker _sqlConnectionsProvider = new PeriodicConnectionsUpdateChecker();
}
}

View File

@@ -68,7 +68,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
frmMain.Default.AreWeUsingSqlServerForSavingConnections = Settings.Default.UseSQLServer;
if (Settings.Default.UseSQLServer)
{
Runtime.SqlConnProvider = new SqlConnectionsProvider();
Runtime.SqlConnProvider = new PeriodicConnectionsUpdateChecker();
Runtime.SqlConnProvider.Enable();
}
}

View File

@@ -151,7 +151,7 @@
<Compile Include="Config\DataProviders\IDataProvider.cs" />
<Compile Include="Config\Connections\SqlCommandBuilder.cs" />
<Compile Include="Config\Connections\SqlConnectionsUpdateChecker.cs" />
<Compile Include="Config\Connections\SqlConnectionsProvider.cs" />
<Compile Include="Config\Connections\PeriodicConnectionsUpdateChecker.cs" />
<Compile Include="Config\Connections\SqlUpdateTimer.cs" />
<Compile Include="Config\Serializers\XmlConnectionsDeserializer.cs" />
<Compile Include="Config\Putty\PuttySessionChangedEventArgs.cs" />