using System;
using System.Collections.Generic;
using System.Text;
using System.Resources;
using DiagramUI;
using DiagramUI.Interfaces;
using ResourceService;
namespace DataPerformerUI.Utils
{
/// <summary>
/// Control utilites for data performer
/// </summary>
public static class ControlUtilites
{
#region Fields
static private IErrorHandler errorHandler;
#endregion
/// <summary>
/// Resources
/// </summary>
static public readonly Dictionary<string, object>[] Resources =
Localizator.CreateResources(new Dictionary<string, object>[][]
{
Localizator.CreateResources(new string[] {"rus"},
new ResourceManager[]
{
ResourceControl_Ru.ResourceManager
}),
Common.Engineering.Localization.Utils.ControlUtilites.Resources
}
);
/// <summary>
/// Error handler
/// </summary>
static public IErrorHandler ErrorHandler
{
get
{
return errorHandler;
}
set
{
errorHandler = value;
}
}
}
}