Rename to VAR.DatabaseExplorer
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -3,5 +3,5 @@
|
|||||||
*.dll
|
*.dll
|
||||||
*.pdb
|
*.pdb
|
||||||
*.user
|
*.user
|
||||||
ServerExplorer/obj
|
*/bin/*
|
||||||
ServerExplorer/bin
|
*/obj/*
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
|
||||||
// set of attributes. Change these attribute values to modify the information
|
|
||||||
// associated with an assembly.
|
|
||||||
[assembly: AssemblyTitle("ServerExplorer")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
[assembly: AssemblyConfiguration("")]
|
|
||||||
[assembly: AssemblyCompany("VAR")]
|
|
||||||
[assembly: AssemblyProduct("ServerExplorer")]
|
|
||||||
[assembly: AssemblyCopyright("Copyright © VAR 2012")]
|
|
||||||
[assembly: AssemblyTrademark("")]
|
|
||||||
[assembly: AssemblyCulture("")]
|
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
|
||||||
// to COM components. If you need to access a type in this assembly from
|
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
|
||||||
[assembly: ComVisible(false)]
|
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
||||||
[assembly: Guid("31f76805-336c-471c-8af2-a4c1364e97b9")]
|
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
|
||||||
//
|
|
||||||
// Major Version
|
|
||||||
// Minor Version
|
|
||||||
// Build Number
|
|
||||||
// Revision
|
|
||||||
//
|
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
|
||||||
// by using the '*' as shown below:
|
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
||||||
@@ -1,7 +1,9 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 2010
|
# Visual Studio 14
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServerExplorer", "ServerExplorer\ServerExplorer.csproj", "{79531B74-3062-4A71-9953-5702BEBDEC0E}"
|
VisualStudioVersion = 14.0.25420.1
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VAR.DatabaseExplorer", "VAR.DatabaseExplorer\VAR.DatabaseExplorer.csproj", "{79531B74-3062-4A71-9953-5702BEBDEC0E}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace ServerExplorer.Code
|
namespace VAR.DatabaseExplorer.Code
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class Config
|
public class Config
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using ServerExplorer.Code.DataTransfer;
|
using VAR.DatabaseExplorer.Code.DataTransfer;
|
||||||
|
|
||||||
namespace ServerExplorer.Code.DataAccess
|
namespace VAR.DatabaseExplorer.Code.DataAccess
|
||||||
{
|
{
|
||||||
public class DatabaseDA
|
public class DatabaseDA
|
||||||
{
|
{
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Data.Sql;
|
using System.Data.Sql;
|
||||||
using ServerExplorer.Code.DataTransfer;
|
using VAR.DatabaseExplorer.Code.DataTransfer;
|
||||||
|
|
||||||
namespace ServerExplorer.Code.DataAccess
|
namespace VAR.DatabaseExplorer.Code.DataAccess
|
||||||
{
|
{
|
||||||
public class ServerDA
|
public class ServerDA
|
||||||
{
|
{
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using ServerExplorer.Code.DataTransfer;
|
using VAR.DatabaseExplorer.Code.DataTransfer;
|
||||||
|
|
||||||
namespace ServerExplorer.Code.DataAccess
|
namespace VAR.DatabaseExplorer.Code.DataAccess
|
||||||
{
|
{
|
||||||
public class TableDA
|
public class TableDA
|
||||||
{
|
{
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace ServerExplorer.Code.DataTransfer
|
namespace VAR.DatabaseExplorer.Code.DataTransfer
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class Column
|
public class Column
|
||||||
@@ -3,7 +3,7 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace ServerExplorer.Code.DataTransfer
|
namespace VAR.DatabaseExplorer.Code.DataTransfer
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class Database
|
public class Database
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace ServerExplorer.Code.DataTransfer
|
namespace VAR.DatabaseExplorer.Code.DataTransfer
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class Server
|
public class Server
|
||||||
@@ -3,7 +3,7 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace ServerExplorer.Code.DataTransfer
|
namespace VAR.DatabaseExplorer.Code.DataTransfer
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class Table
|
public class Table
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace ServerExplorer.Code.DataTransfer
|
namespace VAR.DatabaseExplorer.Code.DataTransfer
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class User
|
public class User
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace ServerExplorer.Code
|
namespace VAR.DatabaseExplorer.Code
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class DatabaseDesc
|
public class DatabaseDesc
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace ServerExplorer.Code
|
namespace VAR.DatabaseExplorer.Code
|
||||||
{
|
{
|
||||||
public class DocGen
|
public class DocGen
|
||||||
{
|
{
|
||||||
@@ -4,7 +4,7 @@ using System.Data;
|
|||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace ServerExplorer.Code
|
namespace VAR.DatabaseExplorer.Code
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class TablaDesc
|
public class TablaDesc
|
||||||
@@ -5,7 +5,7 @@ using System.Globalization;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace ServerExplorer.Code
|
namespace VAR.DatabaseExplorer.Code
|
||||||
{
|
{
|
||||||
public static class Utiles
|
public static class Utiles
|
||||||
{
|
{
|
||||||
@@ -7,7 +7,7 @@ using System.Runtime.InteropServices;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
namespace ServerExplorer.Controls
|
namespace VAR.DatabaseExplorer.Controls
|
||||||
{
|
{
|
||||||
[DefaultProperty("Items")]
|
[DefaultProperty("Items")]
|
||||||
[DefaultEvent("SelectedIndexChanged")]
|
[DefaultEvent("SelectedIndexChanged")]
|
||||||
@@ -1,11 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ServerExplorer.Controls
|
namespace VAR.DatabaseExplorer.Controls
|
||||||
{
|
{
|
||||||
[ComVisible(true)]
|
[ComVisible(true)]
|
||||||
[ClassInterface(ClassInterfaceType.AutoDispatch)]
|
[ClassInterface(ClassInterfaceType.AutoDispatch)]
|
||||||
@@ -20,7 +17,7 @@ namespace ServerExplorer.Controls
|
|||||||
|
|
||||||
protected void SetTabWidth(int tabWidth)
|
protected void SetTabWidth(int tabWidth)
|
||||||
{
|
{
|
||||||
SendMessage(this.Handle, EM_SETTABSTOPS, 1, new int[] { tabWidth * 4 });
|
SendMessage(Handle, EM_SETTABSTOPS, 1, new int[] { tabWidth * 4 });
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
@@ -1,11 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ServerExplorer.Controls
|
namespace VAR.DatabaseExplorer.Controls
|
||||||
{
|
{
|
||||||
public class WindowButton : Button
|
public class WindowButton : Button
|
||||||
{
|
{
|
||||||
@@ -25,7 +22,6 @@ namespace ServerExplorer.Controls
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
_active = value;
|
_active = value;
|
||||||
//Font = active ? fntActive : fntNormal;
|
|
||||||
ForeColor = _active ? Color.Black : Color.Gray;
|
ForeColor = _active ? Color.Black : Color.Gray;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using ServerExplorer.UI;
|
using VAR.DatabaseExplorer.UI;
|
||||||
|
|
||||||
namespace ServerExplorer
|
namespace VAR.DatabaseExplorer
|
||||||
{
|
{
|
||||||
static class Program
|
static class Program
|
||||||
{
|
{
|
||||||
14
VAR.DatabaseExplorer/Properties/AssemblyInfo.cs
Normal file
14
VAR.DatabaseExplorer/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
[assembly: AssemblyTitle("DatabaseExplorer")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("VAR")]
|
||||||
|
[assembly: AssemblyProduct("DatabaseExplorer")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © VAR 2012-2018")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
[assembly: Guid("31f76805-336c-471c-8af2-a4c1364e97b9")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.*")]
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
partial class FrmBaseDatos
|
partial class FrmBaseDatos
|
||||||
{
|
{
|
||||||
@@ -44,18 +44,18 @@
|
|||||||
this.btnExec = new System.Windows.Forms.Button();
|
this.btnExec = new System.Windows.Forms.Button();
|
||||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||||
this.btnRefresh = new System.Windows.Forms.Button();
|
this.btnRefresh = new System.Windows.Forms.Button();
|
||||||
this.lsvTablas = new ServerExplorer.Controls.CustomListView();
|
this.lsvTablas = new VAR.DatabaseExplorer.Controls.CustomListView();
|
||||||
this.colEsquema = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colEsquema = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colNombreTabla = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colNombreTabla = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colTipo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colTipo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.btnExportData = new System.Windows.Forms.Button();
|
this.btnExportData = new System.Windows.Forms.Button();
|
||||||
this.lsvColumnas = new ServerExplorer.Controls.CustomListView();
|
this.lsvColumnas = new VAR.DatabaseExplorer.Controls.CustomListView();
|
||||||
this.colNombreColumna = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colNombreColumna = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colTipoDatos = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colTipoDatos = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colTamanho = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colTamanho = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colClave = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colClave = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colNullable = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colNullable = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.txtConString = new ServerExplorer.Controls.CustomTextBox();
|
this.txtConString = new VAR.DatabaseExplorer.Controls.CustomTextBox();
|
||||||
this.menuBaseDatos.SuspendLayout();
|
this.menuBaseDatos.SuspendLayout();
|
||||||
this.splitContainer1.Panel1.SuspendLayout();
|
this.splitContainer1.Panel1.SuspendLayout();
|
||||||
this.splitContainer1.Panel2.SuspendLayout();
|
this.splitContainer1.Panel2.SuspendLayout();
|
||||||
@@ -375,14 +375,14 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private ServerExplorer.Controls.CustomTextBox txtConString;
|
private VAR.DatabaseExplorer.Controls.CustomTextBox txtConString;
|
||||||
private System.Windows.Forms.Label lblConString;
|
private System.Windows.Forms.Label lblConString;
|
||||||
private System.Windows.Forms.Button btnCopiarConString;
|
private System.Windows.Forms.Button btnCopiarConString;
|
||||||
private ServerExplorer.Controls.CustomListView lsvTablas;
|
private VAR.DatabaseExplorer.Controls.CustomListView lsvTablas;
|
||||||
private System.Windows.Forms.ColumnHeader colNombreTabla;
|
private System.Windows.Forms.ColumnHeader colNombreTabla;
|
||||||
private System.Windows.Forms.ColumnHeader colEsquema;
|
private System.Windows.Forms.ColumnHeader colEsquema;
|
||||||
private System.Windows.Forms.ColumnHeader colTipo;
|
private System.Windows.Forms.ColumnHeader colTipo;
|
||||||
private ServerExplorer.Controls.CustomListView lsvColumnas;
|
private VAR.DatabaseExplorer.Controls.CustomListView lsvColumnas;
|
||||||
private System.Windows.Forms.ColumnHeader colNombreColumna;
|
private System.Windows.Forms.ColumnHeader colNombreColumna;
|
||||||
private System.Windows.Forms.ColumnHeader colTipoDatos;
|
private System.Windows.Forms.ColumnHeader colTipoDatos;
|
||||||
private System.Windows.Forms.ColumnHeader colTamanho;
|
private System.Windows.Forms.ColumnHeader colTamanho;
|
||||||
@@ -3,13 +3,13 @@ using System.Data;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
using ServerExplorer.Code;
|
using VAR.DatabaseExplorer.Code;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using ServerExplorer.Code.DataTransfer;
|
using VAR.DatabaseExplorer.Code.DataTransfer;
|
||||||
using ServerExplorer.Code.DataAccess;
|
using VAR.DatabaseExplorer.Code.DataAccess;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
public partial class FrmBaseDatos : Form
|
public partial class FrmBaseDatos : Form
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
partial class FrmDatos
|
partial class FrmDatos
|
||||||
{
|
{
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using ServerExplorer.Code;
|
using VAR.DatabaseExplorer.Code;
|
||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
|
|
||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
public partial class FrmDatos : Form
|
public partial class FrmDatos : Form
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
partial class FrmExec
|
partial class FrmExec
|
||||||
{
|
{
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
this.dgvDatos = new System.Windows.Forms.DataGridView();
|
this.dgvDatos = new System.Windows.Forms.DataGridView();
|
||||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||||
this.btnGenInserts = new System.Windows.Forms.Button();
|
this.btnGenInserts = new System.Windows.Forms.Button();
|
||||||
this.txtCommand = new ServerExplorer.Controls.CustomTextBox();
|
this.txtCommand = new VAR.DatabaseExplorer.Controls.CustomTextBox();
|
||||||
this.txtDestTable = new System.Windows.Forms.TextBox();
|
this.txtDestTable = new System.Windows.Forms.TextBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvDatos)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgvDatos)).BeginInit();
|
||||||
this.splitContainer1.Panel1.SuspendLayout();
|
this.splitContainer1.Panel1.SuspendLayout();
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Button btnExec;
|
private System.Windows.Forms.Button btnExec;
|
||||||
private ServerExplorer.Controls.CustomTextBox txtCommand;
|
private VAR.DatabaseExplorer.Controls.CustomTextBox txtCommand;
|
||||||
private System.Windows.Forms.DataGridView dgvDatos;
|
private System.Windows.Forms.DataGridView dgvDatos;
|
||||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||||
private System.Windows.Forms.Button btnGenInserts;
|
private System.Windows.Forms.Button btnGenInserts;
|
||||||
@@ -4,9 +4,9 @@ using System.Data;
|
|||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using ServerExplorer.Code;
|
using VAR.DatabaseExplorer.Code;
|
||||||
|
|
||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
public partial class FrmExec : Form
|
public partial class FrmExec : Form
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
partial class FrmPrincipal
|
partial class FrmPrincipal
|
||||||
{
|
{
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using ServerExplorer.Code;
|
using VAR.DatabaseExplorer.Code;
|
||||||
using ServerExplorer.Controls;
|
using VAR.DatabaseExplorer.Controls;
|
||||||
|
|
||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
public partial class FrmPrincipal : Form
|
public partial class FrmPrincipal : Form
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
partial class FrmProcedimientos
|
partial class FrmProcedimientos
|
||||||
{
|
{
|
||||||
@@ -28,12 +28,12 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.lsvProcs = new ServerExplorer.Controls.CustomListView();
|
this.lsvProcs = new VAR.DatabaseExplorer.Controls.CustomListView();
|
||||||
this.colNombre = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colNombre = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colSchema = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colSchema = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colFecha = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colFecha = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colTipo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colTipo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.txtProc = new ServerExplorer.Controls.CustomTextBox();
|
this.txtProc = new VAR.DatabaseExplorer.Controls.CustomTextBox();
|
||||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||||
this.btnRefresh = new System.Windows.Forms.Button();
|
this.btnRefresh = new System.Windows.Forms.Button();
|
||||||
this.splitContainer1.Panel1.SuspendLayout();
|
this.splitContainer1.Panel1.SuspendLayout();
|
||||||
@@ -148,10 +148,10 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private ServerExplorer.Controls.CustomListView lsvProcs;
|
private VAR.DatabaseExplorer.Controls.CustomListView lsvProcs;
|
||||||
private System.Windows.Forms.ColumnHeader colNombre;
|
private System.Windows.Forms.ColumnHeader colNombre;
|
||||||
private System.Windows.Forms.ColumnHeader colFecha;
|
private System.Windows.Forms.ColumnHeader colFecha;
|
||||||
private ServerExplorer.Controls.CustomTextBox txtProc;
|
private VAR.DatabaseExplorer.Controls.CustomTextBox txtProc;
|
||||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||||
private System.Windows.Forms.ColumnHeader colTipo;
|
private System.Windows.Forms.ColumnHeader colTipo;
|
||||||
private System.Windows.Forms.ColumnHeader colSchema;
|
private System.Windows.Forms.ColumnHeader colSchema;
|
||||||
@@ -3,7 +3,7 @@ using System.Data;
|
|||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
public partial class FrmProcedimientos : Form
|
public partial class FrmProcedimientos : Form
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
partial class FrmServidores
|
partial class FrmServidores
|
||||||
{
|
{
|
||||||
@@ -28,19 +28,19 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.lsvServidores = new ServerExplorer.Controls.CustomListView();
|
this.lsvServidores = new VAR.DatabaseExplorer.Controls.CustomListView();
|
||||||
this.colNombreServidor = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colNombreServidor = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colInstancia = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colInstancia = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colVersion = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colVersion = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.btnListarServidores = new System.Windows.Forms.Button();
|
this.btnListarServidores = new System.Windows.Forms.Button();
|
||||||
this.lblServidor = new System.Windows.Forms.Label();
|
this.lblServidor = new System.Windows.Forms.Label();
|
||||||
this.txtServidor = new ServerExplorer.Controls.CustomTextBox();
|
this.txtServidor = new VAR.DatabaseExplorer.Controls.CustomTextBox();
|
||||||
this.lblUsuario = new System.Windows.Forms.Label();
|
this.lblUsuario = new System.Windows.Forms.Label();
|
||||||
this.lblContrasenha = new System.Windows.Forms.Label();
|
this.lblContrasenha = new System.Windows.Forms.Label();
|
||||||
this.txtUsuario = new ServerExplorer.Controls.CustomTextBox();
|
this.txtUsuario = new VAR.DatabaseExplorer.Controls.CustomTextBox();
|
||||||
this.TxtContrasenha = new ServerExplorer.Controls.CustomTextBox();
|
this.TxtContrasenha = new VAR.DatabaseExplorer.Controls.CustomTextBox();
|
||||||
this.btnListarBBDD = new System.Windows.Forms.Button();
|
this.btnListarBBDD = new System.Windows.Forms.Button();
|
||||||
this.lsvBBDD = new ServerExplorer.Controls.CustomListView();
|
this.lsvBBDD = new VAR.DatabaseExplorer.Controls.CustomListView();
|
||||||
this.colDBName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colDBName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.colFechaCreacion = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.colFechaCreacion = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||||
@@ -235,19 +235,19 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private ServerExplorer.Controls.CustomListView lsvServidores;
|
private VAR.DatabaseExplorer.Controls.CustomListView lsvServidores;
|
||||||
private System.Windows.Forms.Button btnListarServidores;
|
private System.Windows.Forms.Button btnListarServidores;
|
||||||
private System.Windows.Forms.ColumnHeader colNombreServidor;
|
private System.Windows.Forms.ColumnHeader colNombreServidor;
|
||||||
private System.Windows.Forms.ColumnHeader colInstancia;
|
private System.Windows.Forms.ColumnHeader colInstancia;
|
||||||
private System.Windows.Forms.ColumnHeader colVersion;
|
private System.Windows.Forms.ColumnHeader colVersion;
|
||||||
private System.Windows.Forms.Label lblServidor;
|
private System.Windows.Forms.Label lblServidor;
|
||||||
private ServerExplorer.Controls.CustomTextBox txtServidor;
|
private VAR.DatabaseExplorer.Controls.CustomTextBox txtServidor;
|
||||||
private System.Windows.Forms.Label lblUsuario;
|
private System.Windows.Forms.Label lblUsuario;
|
||||||
private System.Windows.Forms.Label lblContrasenha;
|
private System.Windows.Forms.Label lblContrasenha;
|
||||||
private ServerExplorer.Controls.CustomTextBox txtUsuario;
|
private VAR.DatabaseExplorer.Controls.CustomTextBox txtUsuario;
|
||||||
private ServerExplorer.Controls.CustomTextBox TxtContrasenha;
|
private VAR.DatabaseExplorer.Controls.CustomTextBox TxtContrasenha;
|
||||||
private System.Windows.Forms.Button btnListarBBDD;
|
private System.Windows.Forms.Button btnListarBBDD;
|
||||||
private ServerExplorer.Controls.CustomListView lsvBBDD;
|
private VAR.DatabaseExplorer.Controls.CustomListView lsvBBDD;
|
||||||
private System.Windows.Forms.ColumnHeader colDBName;
|
private System.Windows.Forms.ColumnHeader colDBName;
|
||||||
private System.Windows.Forms.ColumnHeader colFechaCreacion;
|
private System.Windows.Forms.ColumnHeader colFechaCreacion;
|
||||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using ServerExplorer.Code.DataAccess;
|
using VAR.DatabaseExplorer.Code.DataAccess;
|
||||||
using ServerExplorer.Code.DataTransfer;
|
using VAR.DatabaseExplorer.Code.DataTransfer;
|
||||||
|
|
||||||
namespace ServerExplorer.UI
|
namespace VAR.DatabaseExplorer.UI
|
||||||
{
|
{
|
||||||
public partial class FrmServidores : Form
|
public partial class FrmServidores : Form
|
||||||
{
|
{
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
@@ -8,15 +8,17 @@
|
|||||||
<ProjectGuid>{79531B74-3062-4A71-9953-5702BEBDEC0E}</ProjectGuid>
|
<ProjectGuid>{79531B74-3062-4A71-9953-5702BEBDEC0E}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>ServerExplorer</RootNamespace>
|
<RootNamespace>VAR.DatabaseExplorer</RootNamespace>
|
||||||
<AssemblyName>ServerExplorer</AssemblyName>
|
<AssemblyName>VAR.DatabaseExplorer</AssemblyName>
|
||||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<FileUpgradeFlags>
|
<FileUpgradeFlags>
|
||||||
</FileUpgradeFlags>
|
</FileUpgradeFlags>
|
||||||
<UpgradeBackupLocation>
|
<UpgradeBackupLocation>
|
||||||
</UpgradeBackupLocation>
|
</UpgradeBackupLocation>
|
||||||
<OldToolsVersion>3.5</OldToolsVersion>
|
<OldToolsVersion>3.5</OldToolsVersion>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
@@ -29,7 +31,6 @@
|
|||||||
<MapFileExtensions>true</MapFileExtensions>
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -41,6 +42,8 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
@@ -50,6 +53,13 @@
|
|||||||
</DefineConstants>
|
</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<StartupObject>VAR.DatabaseExplorer.Program</StartupObject>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.VisualBasic" />
|
<Reference Include="Microsoft.VisualBasic" />
|
||||||
@@ -169,6 +179,9 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Code\BussinesLogic\" />
|
<Folder Include="Code\BussinesLogic\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="app.manifest" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
76
VAR.DatabaseExplorer/app.manifest
Normal file
76
VAR.DatabaseExplorer/app.manifest
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||||
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||||
|
<security>
|
||||||
|
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<!-- UAC Manifest Options
|
||||||
|
If you want to change the Windows User Account Control level replace the
|
||||||
|
requestedExecutionLevel node with one of the following.
|
||||||
|
|
||||||
|
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||||
|
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||||
|
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||||
|
|
||||||
|
Specifying requestedExecutionLevel element will disable file and registry virtualization.
|
||||||
|
Remove this element if your application requires this virtualization for backwards
|
||||||
|
compatibility.
|
||||||
|
-->
|
||||||
|
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||||
|
</requestedPrivileges>
|
||||||
|
</security>
|
||||||
|
</trustInfo>
|
||||||
|
|
||||||
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||||
|
<application>
|
||||||
|
<!-- A list of the Windows versions that this application has been tested on and is
|
||||||
|
is designed to work with. Uncomment the appropriate elements and Windows will
|
||||||
|
automatically selected the most compatible environment. -->
|
||||||
|
|
||||||
|
<!-- Windows Vista -->
|
||||||
|
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
|
||||||
|
|
||||||
|
<!-- Windows 7 -->
|
||||||
|
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
|
||||||
|
|
||||||
|
<!-- Windows 8 -->
|
||||||
|
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
|
||||||
|
|
||||||
|
<!-- Windows 8.1 -->
|
||||||
|
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
|
||||||
|
|
||||||
|
<!-- Windows 10 -->
|
||||||
|
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
|
||||||
|
|
||||||
|
</application>
|
||||||
|
</compatibility>
|
||||||
|
|
||||||
|
<!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
|
||||||
|
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
|
||||||
|
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
|
||||||
|
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config. -->
|
||||||
|
|
||||||
|
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<windowsSettings>
|
||||||
|
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||||
|
</windowsSettings>
|
||||||
|
</application>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
|
||||||
|
<!--
|
||||||
|
<dependency>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity
|
||||||
|
type="win32"
|
||||||
|
name="Microsoft.Windows.Common-Controls"
|
||||||
|
version="6.0.0.0"
|
||||||
|
processorArchitecture="*"
|
||||||
|
publicKeyToken="6595b64144ccf1df"
|
||||||
|
language="*"
|
||||||
|
/>
|
||||||
|
</dependentAssembly>
|
||||||
|
</dependency>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</assembly>
|
||||||
Reference in New Issue
Block a user