Browse Source

only show the last server

master
jvilalta 14 years ago
parent
commit
9cd764b0a7
2 changed files with 19 additions and 27 deletions
  1. +17
    -25
      ClickForensics.Quartz.Manager.Wpf/Properties/Resources.Designer.cs
  2. +2
    -2
      ClickForensics.Quartz.Manager/RegistryStore.cs

+ 17
- 25
ClickForensics.Quartz.Manager.Wpf/Properties/Resources.Designer.cs View File

@@ -8,10 +8,10 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace ClickForensics.Quartz.Manager.Wpf.Properties
{
namespace ClickForensics.Quartz.Manager.Wpf.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@@ -22,48 +22,40 @@ namespace ClickForensics.Quartz.Manager.Wpf.Properties
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ClickForensics.Quartz.Manager.Wpf.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set
{
set {
resourceCulture = value;
}
}


+ 2
- 2
ClickForensics.Quartz.Manager/RegistryStore.cs View File

@@ -26,8 +26,8 @@ namespace ClickForensics.Quartz.Manager
{
return lastConnections;
}
for (int i = 0; i < 5; i++)
//TODO: show more than one server in dropdown
for (int i = 0; i < 1; i++)
{
ConnectionInfo info = ConnectionInfo.Parse((key.GetValue(string.Format("connection{0}", i), null) as string));
if (info != null)


Loading…
Cancel
Save