CustomListView: ListView que permite reordenar los datos (AllowSorting)
This commit is contained in:
53
ServerExplorer/frmBaseDatos.Designer.cs
generated
53
ServerExplorer/frmBaseDatos.Designer.cs
generated
@@ -31,15 +31,15 @@
|
||||
this.txtConString = new System.Windows.Forms.TextBox();
|
||||
this.lblConString = new System.Windows.Forms.Label();
|
||||
this.btnCopiarConString = new System.Windows.Forms.Button();
|
||||
this.lsvTablas = new System.Windows.Forms.ListView();
|
||||
this.colNombreTabla = new System.Windows.Forms.ColumnHeader();
|
||||
this.colEsquema = new System.Windows.Forms.ColumnHeader();
|
||||
this.colTipo = new System.Windows.Forms.ColumnHeader();
|
||||
this.lsvColumnas = new System.Windows.Forms.ListView();
|
||||
this.colNombreColumna = new System.Windows.Forms.ColumnHeader();
|
||||
this.colTipoDatos = new System.Windows.Forms.ColumnHeader();
|
||||
this.colTamanho = new System.Windows.Forms.ColumnHeader();
|
||||
this.colClave = new System.Windows.Forms.ColumnHeader();
|
||||
this.lsvTablas = new ServerExplorer.Controls.CustomListView();
|
||||
this.colNombreTabla = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.colEsquema = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.colTipo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.lsvColumnas = new ServerExplorer.Controls.CustomListView();
|
||||
this.colNombreColumna = ((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.colClave = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.menuBaseDatos = new System.Windows.Forms.MenuStrip();
|
||||
this.archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.menuCargar = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@@ -91,6 +91,7 @@
|
||||
//
|
||||
// lsvTablas
|
||||
//
|
||||
this.lsvTablas.AllowSorting = true;
|
||||
this.lsvTablas.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -102,7 +103,7 @@
|
||||
this.lsvTablas.FullRowSelect = true;
|
||||
this.lsvTablas.Location = new System.Drawing.Point(3, 40);
|
||||
this.lsvTablas.Name = "lsvTablas";
|
||||
this.lsvTablas.Size = new System.Drawing.Size(332, 468);
|
||||
this.lsvTablas.Size = new System.Drawing.Size(317, 468);
|
||||
this.lsvTablas.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
||||
this.lsvTablas.TabIndex = 4;
|
||||
this.lsvTablas.UseCompatibleStateImageBehavior = false;
|
||||
@@ -125,6 +126,7 @@
|
||||
//
|
||||
// lsvColumnas
|
||||
//
|
||||
this.lsvColumnas.AllowSorting = false;
|
||||
this.lsvColumnas.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -136,7 +138,7 @@
|
||||
this.lsvColumnas.FullRowSelect = true;
|
||||
this.lsvColumnas.Location = new System.Drawing.Point(3, 40);
|
||||
this.lsvColumnas.Name = "lsvColumnas";
|
||||
this.lsvColumnas.Size = new System.Drawing.Size(458, 439);
|
||||
this.lsvColumnas.Size = new System.Drawing.Size(473, 439);
|
||||
this.lsvColumnas.TabIndex = 6;
|
||||
this.lsvColumnas.UseCompatibleStateImageBehavior = false;
|
||||
this.lsvColumnas.View = System.Windows.Forms.View.Details;
|
||||
@@ -168,7 +170,7 @@
|
||||
this.menuConfiguracion});
|
||||
this.menuBaseDatos.Location = new System.Drawing.Point(7, 195);
|
||||
this.menuBaseDatos.Name = "menuBaseDatos";
|
||||
this.menuBaseDatos.Size = new System.Drawing.Size(181, 24);
|
||||
this.menuBaseDatos.Size = new System.Drawing.Size(195, 24);
|
||||
this.menuBaseDatos.TabIndex = 9;
|
||||
this.menuBaseDatos.Text = "menuBaseDatos";
|
||||
this.menuBaseDatos.Visible = false;
|
||||
@@ -180,34 +182,34 @@
|
||||
this.menuCargar,
|
||||
this.menuGuardar});
|
||||
this.archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
|
||||
this.archivoToolStripMenuItem.Size = new System.Drawing.Size(88, 20);
|
||||
this.archivoToolStripMenuItem.Size = new System.Drawing.Size(92, 20);
|
||||
this.archivoToolStripMenuItem.Text = "Base de Datos";
|
||||
//
|
||||
// menuCargar
|
||||
//
|
||||
this.menuCargar.Name = "menuCargar";
|
||||
this.menuCargar.Size = new System.Drawing.Size(152, 22);
|
||||
this.menuCargar.Size = new System.Drawing.Size(116, 22);
|
||||
this.menuCargar.Text = "Cargar";
|
||||
this.menuCargar.Click += new System.EventHandler(this.menuCargar_Click);
|
||||
//
|
||||
// menuGuardar
|
||||
//
|
||||
this.menuGuardar.Name = "menuGuardar";
|
||||
this.menuGuardar.Size = new System.Drawing.Size(152, 22);
|
||||
this.menuGuardar.Size = new System.Drawing.Size(116, 22);
|
||||
this.menuGuardar.Text = "Guardar";
|
||||
this.menuGuardar.Click += new System.EventHandler(this.menuGuardar_Click);
|
||||
//
|
||||
// menuConfiguracion
|
||||
//
|
||||
this.menuConfiguracion.Name = "menuConfiguracion";
|
||||
this.menuConfiguracion.Size = new System.Drawing.Size(85, 20);
|
||||
this.menuConfiguracion.Size = new System.Drawing.Size(95, 20);
|
||||
this.menuConfiguracion.Text = "Configuracion";
|
||||
this.menuConfiguracion.Click += new System.EventHandler(this.menuConfiguracion_Click);
|
||||
//
|
||||
// btnGenerar
|
||||
//
|
||||
this.btnGenerar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnGenerar.Location = new System.Drawing.Point(386, 485);
|
||||
this.btnGenerar.Location = new System.Drawing.Point(401, 485);
|
||||
this.btnGenerar.Name = "btnGenerar";
|
||||
this.btnGenerar.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnGenerar.TabIndex = 10;
|
||||
@@ -235,7 +237,7 @@
|
||||
this.lblTituloTabla.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.lblTituloTabla.Location = new System.Drawing.Point(3, 0);
|
||||
this.lblTituloTabla.Name = "lblTituloTabla";
|
||||
this.lblTituloTabla.Size = new System.Drawing.Size(458, 37);
|
||||
this.lblTituloTabla.Size = new System.Drawing.Size(473, 37);
|
||||
this.lblTituloTabla.TabIndex = 12;
|
||||
this.lblTituloTabla.Text = "lblTituloTabla";
|
||||
this.lblTituloTabla.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -249,7 +251,7 @@
|
||||
this.lblTituloDB.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.lblTituloDB.Location = new System.Drawing.Point(3, 0);
|
||||
this.lblTituloDB.Name = "lblTituloDB";
|
||||
this.lblTituloDB.Size = new System.Drawing.Size(332, 37);
|
||||
this.lblTituloDB.Size = new System.Drawing.Size(317, 37);
|
||||
this.lblTituloDB.TabIndex = 13;
|
||||
this.lblTituloDB.Text = "lblTituloDB";
|
||||
this.lblTituloDB.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -257,7 +259,7 @@
|
||||
// btnDocGen
|
||||
//
|
||||
this.btnDocGen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnDocGen.Location = new System.Drawing.Point(305, 485);
|
||||
this.btnDocGen.Location = new System.Drawing.Point(320, 485);
|
||||
this.btnDocGen.Name = "btnDocGen";
|
||||
this.btnDocGen.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnDocGen.TabIndex = 14;
|
||||
@@ -292,6 +294,7 @@
|
||||
this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(1, 32);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
//
|
||||
@@ -312,10 +315,10 @@
|
||||
this.splitContainer1.Panel2.Controls.Add(this.btnProcs);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.btnVerDatos);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(806, 511);
|
||||
this.splitContainer1.SplitterDistance = 338;
|
||||
this.splitContainer1.SplitterDistance = 323;
|
||||
this.splitContainer1.TabIndex = 17;
|
||||
//
|
||||
// frmBaseDatos
|
||||
// FrmBaseDatos
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
@@ -325,7 +328,7 @@
|
||||
this.Controls.Add(this.lblConString);
|
||||
this.Controls.Add(this.txtConString);
|
||||
this.MainMenuStrip = this.menuBaseDatos;
|
||||
this.Name = "frmBaseDatos";
|
||||
this.Name = "FrmBaseDatos";
|
||||
this.Text = "Base de Datos";
|
||||
this.Load += new System.EventHandler(this.frmBaseDatos_Load);
|
||||
this.menuBaseDatos.ResumeLayout(false);
|
||||
@@ -344,11 +347,11 @@
|
||||
private System.Windows.Forms.TextBox txtConString;
|
||||
private System.Windows.Forms.Label lblConString;
|
||||
private System.Windows.Forms.Button btnCopiarConString;
|
||||
private System.Windows.Forms.ListView lsvTablas;
|
||||
private ServerExplorer.Controls.CustomListView lsvTablas;
|
||||
private System.Windows.Forms.ColumnHeader colNombreTabla;
|
||||
private System.Windows.Forms.ColumnHeader colEsquema;
|
||||
private System.Windows.Forms.ColumnHeader colTipo;
|
||||
private System.Windows.Forms.ListView lsvColumnas;
|
||||
private ServerExplorer.Controls.CustomListView lsvColumnas;
|
||||
private System.Windows.Forms.ColumnHeader colNombreColumna;
|
||||
private System.Windows.Forms.ColumnHeader colTipoDatos;
|
||||
private System.Windows.Forms.ColumnHeader colTamanho;
|
||||
|
||||
Reference in New Issue
Block a user