--Literals version 2.0

Se ha añadido la traduccion segura.
Los idiomas ahora se recogen de la base de datos
Se permite crear grupos de  idiomas personalizados
Permite generar archivos de recurso (.dll)
Permite generar partes automáticos
Permite copiar los scripts
Permite abrir nuestro sql manager con el script abierto
Permite lanzar los scripts en base de datos
parent c31c7e48
......@@ -15,4 +15,8 @@
contract="TranslatorService.LanguageService" name="BasicHttpBinding_LanguageService" />
</client>
</system.serviceModel>
<appSettings>
<add key="HeaderInfoKey" value="HeaderInfo" />
<add key="ActualDateInfoKey" value="ActualDateInfo" />
</appSettings>
</configuration>
\ No newline at end of file
......@@ -11,7 +11,8 @@
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<PublishUrl>C:\Users\fgarctor\Desktop\liiiiiiiiiiiiiiiiiiiterales\</PublishUrl>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>C:\Users\fgarctor\boligrafobic\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
......@@ -21,9 +22,8 @@
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationRevision>13</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
......@@ -60,17 +60,49 @@
<SignManifests>true</SignManifests>
</PropertyGroup>
<ItemGroup>
<Reference Include="CognitiveServices.Translator.Client, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\CognitiveServices.Translator.Client.1.0.0\lib\netstandard2.0\CognitiveServices.Translator.Client.dll</HintPath>
</Reference>
<Reference Include="GemBox.Spreadsheet, Version=43.0.35.1084, Culture=neutral, PublicKeyToken=b1b72c69714d4847, processorArchitecture=MSIL">
<HintPath>..\packages\GemBox.Spreadsheet.43.0.0.1084\lib\net35\GemBox.Spreadsheet.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Configuration, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Configuration.2.0.2\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Configuration.Abstractions, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Configuration.Abstractions.2.0.2\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Configuration.Binder, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Configuration.Binder.2.0.2\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyInjection, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.2.0.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.2.0.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Primitives, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Primitives.2.0.0\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll</HintPath>
</Reference>
<Reference Include="Microsoft.JScript" />
<Reference Include="Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Office.Interop.Excel.15.0.4795.1000\lib\net20\Microsoft.Office.Interop.Excel.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="ReachFramework" />
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Printing" />
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.4.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Security" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml.Linq" />
......@@ -82,21 +114,61 @@
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="CodigoIdioma.cs" />
<Compile Include="Idiomas.cs" />
<Compile Include="MainMenu.cs">
<Compile Include="Negocio\DatabaseConfig.cs" />
<Compile Include="Negocio\Idiomas\Idioma.cs" />
<Compile Include="Negocio\Idiomas\IdiomasPerso.cs" />
<Compile Include="Pantallas\Configuration.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Pantallas\Configuration.Designer.cs">
<DependentUpon>Configuration.cs</DependentUpon>
</Compile>
<Compile Include="Negocio\ConfigurationData.cs" />
<Compile Include="Negocio\Enums\IdiomasEnum.cs" />
<Compile Include="Pantallas\FastLoadLanguages.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Pantallas\FastLoadLanguages.Designer.cs">
<DependentUpon>FastLoadLanguages.cs</DependentUpon>
</Compile>
<Compile Include="Pantallas\FastUserCredentials.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Pantallas\FastUserCredentials.Designer.cs">
<DependentUpon>FastUserCredentials.cs</DependentUpon>
</Compile>
<Compile Include="Pantallas\TextBoxDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Pantallas\TextBoxDialog.Designer.cs">
<DependentUpon>TextBoxDialog.cs</DependentUpon>
</Compile>
<Compile Include="Pantallas\MainMenu.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainMenu.Designer.cs">
<Compile Include="Pantallas\MainMenu.Designer.cs">
<DependentUpon>MainMenu.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Traductor.cs" />
<Compile Include="Utils.cs" />
<EmbeddedResource Include="MainMenu.resx">
<Compile Include="Negocio\Traductor.cs" />
<Compile Include="Negocio\Utils.cs" />
<EmbeddedResource Include="Pantallas\Configuration.resx">
<DependentUpon>Configuration.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Pantallas\FastLoadLanguages.resx">
<DependentUpon>FastLoadLanguages.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Pantallas\FastUserCredentials.resx">
<DependentUpon>FastUserCredentials.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Pantallas\TextBoxDialog.resx">
<DependentUpon>TextBoxDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Pantallas\MainMenu.resx">
<DependentUpon>MainMenu.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
......@@ -121,7 +193,9 @@
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="App.config">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
......@@ -135,5 +209,6 @@
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
using System;
using System.Collections.Generic;
namespace Literals.Negocio
{
/// <summary>
/// ConfigurationData
/// </summary>
public class ConfigurationData
{
/// <summary>
/// The configuration path
/// </summary>
public string configPath { get; set; }
/// <summary>
/// Gets or sets the header information value.
/// </summary>
/// <value>
/// The header information value.
/// </value>
public string HeaderInfoValue { get; set; }
/// <summary>
/// Gets or sets the actual date information value.
/// </summary>
/// <value>
/// The actual date information value.
/// </value>
public string ActualDateInfoValue { get; set; }
/// <summary>
/// Gets or sets the configuration data.
/// </summary>
/// <value>
/// The configuration data.
/// </value>
public Dictionary<string, string> ConfigData { get; set; }
/// <summary>
/// Gets or sets the SQL data.
/// </summary>
/// <value>
/// The SQL data.
/// </value>
public DatabaseConfig SQLData { get; set; }
/// <summary>
/// Gets or sets the configuration custom languages.
/// </summary>
/// <value>
/// The configuration custom languages.
/// </value>
public IdiomasPerso ConfigCustomLanguages { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="ConfigurationData"/> class.
/// </summary>
public ConfigurationData()
{
this.configPath = Utils.getConfigPath();
this.ConfigData = new Dictionary<string, string>();
this.SQLData = new DatabaseConfig();
this.ConfigCustomLanguages = new IdiomasPerso();
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Literals.Negocio
{
public class DatabaseConfig
{
/// <summary>
/// Gets or sets the servidor.
/// </summary>
/// <value>
/// The servidor.
/// </value>
public string Servidor { get; set; }
/// <summary>
/// Gets or sets the base de datos.
/// </summary>
/// <value>
/// The base de datos.
/// </value>
public string BaseDeDatos { get; set; }
/// <summary>
/// Gets or sets the identifier usuario.
/// </summary>
/// <value>
/// The identifier usuario.
/// </value>
public string IdUsuario { get; set; }
/// <summary>
/// Gets or sets the pass usuario.
/// </summary>
/// <value>
/// The pass usuario.
/// </value>
public string PassUsuario { get; set; }
}
}
using System;
namespace Literals
{
[Obsolete]
public enum Idiomas
{
/// <summary>
/// UK ENGLISH
/// </summary>
Ingles = 3,
/// <summary>
/// USA ENGLISH
/// </summary>
Americano = 57,
/// <summary>
/// FR FRENCH
/// </summary>
Frances = 5,
/// <summary>
/// SPAIN SPANISH
/// </summary>
Español = 1,
/// <summary>
/// MEX SPANISH
/// </summary>
Mexicano = 4,
/// <summary>
/// COLOMBIAN ENGLISH
/// </summary>
Colombiano = 25,
/// <summary>
/// PERUAN SPANISH
/// </summary>
Peruano = 26,
/// <summary>
/// PT PORTUGUESE
/// </summary>
Portugues = 2,
/// <summary>
/// CAT CATALAN
/// </summary>
Catalan = 6,
/// <summary>
/// ITA ITALIAN
/// </summary>
Italiano = 12,
/// <summary>
/// CHILEAN SPANISH
/// </summary>
Chileno = 9
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Literals.Negocio
{
public class FastLoadLanguages
{
/// <summary>
/// Gets the default loyalty demo configuration.
/// </summary>
/// <returns></returns>
public static List<Idiomas> getDefaultLoyaltyDemoConfig()
{
List<Idiomas> listaIdiomas = new List<Idiomas>();
listaIdiomas.Add(Idiomas.Español);
listaIdiomas.Add(Idiomas.Portugues);
listaIdiomas.Add(Idiomas.Ingles);
listaIdiomas.Add(Idiomas.Mexicano);
listaIdiomas.Add(Idiomas.Frances);
listaIdiomas.Add(Idiomas.Catalan);
listaIdiomas.Add(Idiomas.Italiano);
listaIdiomas.Add(Idiomas.Colombiano);
return listaIdiomas;
}
}
}
namespace Literals.Negocio
{
/// <summary>
/// Manages the Idioma
/// </summary>
public class Idioma
{
/// <summary>
/// Gets or sets the codigo.
/// </summary>
/// <value>
/// The codigo.
/// </value>
public string Codigo { get; set; }
/// <summary>
/// Gets or sets the descripcion.
/// </summary>
/// <value>
/// The descripcion.
/// </value>
public string Descripcion {get;set;}
/// <summary>
/// Gets or sets the culture.
/// </summary>
/// <value>
/// The culture.
/// </value>
public string Culture { get; set; }
}
}
using System.Collections.Generic;
namespace Literals.Negocio
{
public class IdiomasPerso
{
/// <summary>
/// Gets or sets the nombre perso configuration.
/// </summary>
/// <value>
/// The nombre perso configuration.
/// </value>
public Dictionary<string, List<Idioma>> ConfigIdiomasPerso { get; set; }
public IdiomasPerso()
{
this.ConfigIdiomasPerso = new Dictionary<string, List<Idioma>>();
}
}
}
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
namespace Literals.Negocio
{
public static class Traductor
{
/// <summary>
/// Translates the text.
/// </summary>
/// <param name="input">The input.</param>
/// <param name="languagePair">The language pair.</param>
/// <returns></returns>
public static string TranslateText(string input, string languagePair)
{
string url = String.Format("http://www.google.com/translate_t?hl=en&ie=UTF8&text={0}&langpair={1}", input, languagePair);
HttpClient httpClient = new HttpClient();
string result = httpClient.GetStringAsync(url).Result;
string Aresult = System.Net.WebUtility.HtmlDecode(result);
string TrimValue = "TRANSLATED_TEXT='";
int getTranslatedString = Aresult.IndexOf(TrimValue)+TrimValue.Length;
string getTranslatedFullString = Aresult.Substring(getTranslatedString);
if (getTranslatedFullString.Contains("\\"))
{
if (getTranslatedFullString.Contains("\\x26#39;"))
{
getTranslatedFullString = getTranslatedFullString.Replace("\\x26#39;", "'");
}
}
int FinalValues = getTranslatedFullString.IndexOf(";");
string Result = getTranslatedFullString.Substring(0, FinalValues);
return Result.Remove(Result.Length-1);
}
/// <summary>
/// Translates this instance.
/// </summary>
/// <returns></returns>
public static string Translate(string value, string idioma)
{
string translatedValue = string.Empty;
string url = String.Format("http://www.google.com/translate_t?hl=en&ie=UTF8&text={0}&langpair={1}", value, idioma);
HttpClient httpClient = new HttpClient();
string result = httpClient.GetStringAsync(url).Result;
result = result.Substring(result.IndexOf("<span title=\"") + "<span title=\"".Length);
result = result.Substring(result.IndexOf(">") + 1);
result = result.Substring(0, result.IndexOf("</span>"));
string decodedString = System.Net.WebUtility.HtmlDecode(result);
string translatedText = decodedString.Trim();
return translatedText;
}
}
}
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace Literals.Negocio
{
/// <summary>
/// Clase de utiles
/// </summary>
public static class Utils
{
/// <summary>
/// Formats the result string.
/// </summary>
/// <param name="argString">The argument string.</param>
/// <returns></returns>
public static string FormatResultString(string argString)
{
if (argString.Contains("[][]"))
{
argString = argString.Replace("[][]", "[]");
}
if (argString.Contains("[ ]"))
{
argString = argString.Replace("[ ]", "[]");
}
if (argString.Contains("[] ]"))
{
argString = argString.Replace("[] ]", "[]");
}
if (argString.Contains("[ []"))
{
argString = argString.Replace("[ []", "[]");
}
return argString;
}
/// <summary>
/// Firsts the letter to upper.
/// </summary>
/// <param name="str">The string.</param>
/// <returns></returns>
public static string FirstLetterToUpper(string str)
{
if (str == null)
return null;
if (str.Length > 1)
return char.ToUpper(str[0]) + str.Substring(1);
return str.ToUpper();
}
/// <summary>
/// Firsts the letter to upper.
/// </summary>
/// <param name="str">The string.</param>
/// <returns></returns>
public static string FirstLetterToLower(string str)
{
if (str == null)
return null;
if (str.Length > 1)
return char.ToLower(str[0]) + str.Substring(1);
return str.ToUpper();
}
/// <summary>
/// Encrypts the specified clear text.
/// </summary>
/// <param name="clearText">The clear text.</param>
/// <returns></returns>
public static string Encrypt(string clearText)
{
string EncryptionKey = "MAKV2SPBNI99212";
byte[] clearBytes = Encoding.Unicode.GetBytes(clearText);
using (Aes encryptor = Aes.Create())
{
Rfc2898DeriveBytes pdb = new Rfc2898DeriveBytes(EncryptionKey, new byte[] { 0x49, 0x76, 0x61, 0x6e, 0x20, 0x4d, 0x65, 0x64, 0x76, 0x65, 0x64, 0x65, 0x76 });
encryptor.Key = pdb.GetBytes(32);
encryptor.IV = pdb.GetBytes(16);
using (MemoryStream ms = new MemoryStream())
{
using (CryptoStream cs = new CryptoStream(ms, encryptor.CreateEncryptor(), CryptoStreamMode.Write))
{
cs.Write(clearBytes, 0, clearBytes.Length);
cs.Close();
}
clearText = Convert.ToBase64String(ms.ToArray());
}
}
return clearText;
}
/// <summary>
/// Decrypts the specified cipher text.
/// </summary>
/// <param name="cipherText">The cipher text.</param>
/// <returns></returns>
public static string Decrypt(string cipherText)
{
string EncryptionKey = "MAKV2SPBNI99212";
byte[] cipherBytes = Convert.FromBase64String(cipherText);
using (Aes encryptor = Aes.Create())
{
Rfc2898DeriveBytes pdb = new Rfc2898DeriveBytes(EncryptionKey, new byte[] { 0x49, 0x76, 0x61, 0x6e, 0x20, 0x4d, 0x65, 0x64, 0x76, 0x65, 0x64, 0x65, 0x76 });
encryptor.Key = pdb.GetBytes(32);
encryptor.IV = pdb.GetBytes(16);
using (MemoryStream ms = new MemoryStream())
{
using (CryptoStream cs = new CryptoStream(ms, encryptor.CreateDecryptor(), CryptoStreamMode.Write))
{
cs.Write(cipherBytes, 0, cipherBytes.Length);
cs.Close();
}
cipherText = Encoding.Unicode.GetString(ms.ToArray());
}
}
return cipherText;
}
/// <summary>
/// Gets the default loyalty demo configuration.
/// </summary>
/// <returns></returns>
public static List<Idioma> getDefaultLoyaltyDemoConfig()
{
List<Idioma> listaIdiomas = new List<Idioma>();
Idioma EspEsp = new Idioma { Culture = "es-ES", Codigo = "00001", Descripcion = "ESPAÑOL (ESPAÑA)" };
Idioma PtPt = new Idioma { Culture = "pt-PT", Codigo = "00002", Descripcion = "PORTUGUÉS (PORTUGAL)" };
Idioma EngIng = new Idioma { Culture = "en-GB", Codigo = "00003", Descripcion = "INGLÉS (REINO UNIDO)" };
Idioma EspMex = new Idioma { Culture = "es-MX", Codigo = "00004", Descripcion = "ESPAÑOL (MÉJICO)" };
Idioma FrFra = new Idioma { Culture = "fr-FR", Codigo = "00005", Descripcion = "FRANCÉS (FRANCIA)" };
Idioma EspCat = new Idioma { Culture = "ca-ES", Codigo = "00006", Descripcion = "CATALÁN (ESPAÑA)" };
Idioma ItIta = new Idioma { Culture = "it-IT", Codigo = "00012", Descripcion = "ITALIANO (ITALIA)" };
Idioma EsCol = new Idioma { Culture = "es-CO", Codigo = "00025", Descripcion = "ESPAÑOL (COLOMBIA)" };
listaIdiomas.Add(EspEsp); listaIdiomas.Add(PtPt); listaIdiomas.Add(EngIng); listaIdiomas.Add(EspMex);
listaIdiomas.Add(FrFra); listaIdiomas.Add(EspCat); listaIdiomas.Add(ItIta); listaIdiomas.Add(EsCol);
return listaIdiomas;
}
/// <summary>
/// Devuelve true si el idioma es castellano
/// </summary>
/// <returns></returns>
public static bool EsCastellano(Idioma idioma)
{
if (idioma.Codigo != "00006" && (
idioma.Descripcion.Contains("ñ") ||
idioma.Descripcion.Contains("Ñ"))
)
{
return true;
}
return false;
}
/// <summary>
/// Codigoes the idioma.
/// </summary>
/// <param name="i">The i.</param>
/// <returns></returns>
public static string CodigoIdioma(Idioma i)
{
if (!string.IsNullOrEmpty(i.Culture))
{
return i.Culture.Substring(0, 2);
}
return null;
}
/// <summary>
/// Gets the configuration path.
/// </summary>
/// <returns></returns>
public static string getConfigPath()
{
return System.Environment.CurrentDirectory + "config";
}
}
}
namespace Literals
{
partial class Configuration
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.cbDate = new System.Windows.Forms.CheckBox();
this.txtServer = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.txtBBDD = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.txtUsername = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.txtUserPassword = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 67);
this.label1.Name = "label1";