CustomListView: ListView que permite reordenar los datos (AllowSorting)
This commit is contained in:
25
ServerExplorer/frmProcedimientos.Designer.cs
generated
25
ServerExplorer/frmProcedimientos.Designer.cs
generated
@@ -28,10 +28,10 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.lsvProcs = new System.Windows.Forms.ListView();
|
||||
this.colNombre = new System.Windows.Forms.ColumnHeader();
|
||||
this.colFecha = new System.Windows.Forms.ColumnHeader();
|
||||
this.colTipo = new System.Windows.Forms.ColumnHeader();
|
||||
this.lsvProcs = new ServerExplorer.Controls.CustomListView();
|
||||
this.colNombre = ((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.txtProc = new System.Windows.Forms.TextBox();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
@@ -41,6 +41,8 @@
|
||||
//
|
||||
// lsvProcs
|
||||
//
|
||||
this.lsvProcs.Activation = System.Windows.Forms.ItemActivation.OneClick;
|
||||
this.lsvProcs.AllowSorting = true;
|
||||
this.lsvProcs.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)));
|
||||
@@ -53,7 +55,7 @@
|
||||
this.lsvProcs.GridLines = true;
|
||||
this.lsvProcs.Location = new System.Drawing.Point(0, 0);
|
||||
this.lsvProcs.Name = "lsvProcs";
|
||||
this.lsvProcs.Size = new System.Drawing.Size(262, 369);
|
||||
this.lsvProcs.Size = new System.Drawing.Size(261, 369);
|
||||
this.lsvProcs.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
||||
this.lsvProcs.TabIndex = 0;
|
||||
this.lsvProcs.UseCompatibleStateImageBehavior = false;
|
||||
@@ -85,7 +87,7 @@
|
||||
this.txtProc.Multiline = true;
|
||||
this.txtProc.Name = "txtProc";
|
||||
this.txtProc.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.txtProc.Size = new System.Drawing.Size(308, 366);
|
||||
this.txtProc.Size = new System.Drawing.Size(309, 366);
|
||||
this.txtProc.TabIndex = 1;
|
||||
//
|
||||
// splitContainer1
|
||||
@@ -93,29 +95,28 @@
|
||||
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(12, 12);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.lsvProcs);
|
||||
this.splitContainer1.Panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.splitContainer1_Panel1_Paint);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.txtProc);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(583, 372);
|
||||
this.splitContainer1.SplitterDistance = 265;
|
||||
this.splitContainer1.SplitterDistance = 264;
|
||||
this.splitContainer1.TabIndex = 2;
|
||||
this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved);
|
||||
//
|
||||
// frmProcedimientos
|
||||
// FrmProcedimientos
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(607, 396);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Name = "frmProcedimientos";
|
||||
this.Name = "FrmProcedimientos";
|
||||
this.Text = "frmProcedimientos";
|
||||
this.Load += new System.EventHandler(this.frmProcedimientos_Load);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
@@ -128,7 +129,7 @@
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.ListView lsvProcs;
|
||||
private ServerExplorer.Controls.CustomListView lsvProcs;
|
||||
private System.Windows.Forms.ColumnHeader colNombre;
|
||||
private System.Windows.Forms.ColumnHeader colFecha;
|
||||
private System.Windows.Forms.TextBox txtProc;
|
||||
|
||||
Reference in New Issue
Block a user