class: MultipleColumnSelector

public class: MultipleColumnSelector
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 4.12.2005 12:44:45; Modified: 4.12.2005 12:44:45;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {A89F1F8C-4810-4780-98FC-B85F4A977C5A}
User control for selecting multiple columns from DB table.

 

Goto: Fields, Methods

See also: SetColumnsDialog, SetColumnsDialog

Appears in: GuiExt

Connections
 
MultipleColumnSelector Attributes
Attribute Details
private ColumnsInfo
  colsInfo
private System.Windows.Forms.ListBox
  listAvailable
private System.Windows.Forms.ListBox
  listSelected
private System.Windows.Forms.Button
  buttonAdd
private System.Windows.Forms.Button
  buttonRem
private System.Windows.Forms.Button
  buttonAll
private System.Windows.Forms.Label
  label1
private System.Windows.Forms.Label
  label2
private System.Windows.Forms.Button
  buttonClear
private System.ComponentModel.Container
  components
Initial: null
Notes: Required designer variable.

private bool
  fillAfterSetColumns
 
MultipleColumnSelector Methods
Operation Details
public
ChangeSelection():System.EventHandler
Sequential <<event>>
public
MultipleColumnSelector():
Sequential
Notes: Constructor.
protected
Dispose(
   bool disposing):void
Sequential
Tags: override=true
Notes: Clean up any resources being used.
private
InitializeComponent():void
Sequential
Notes: Required method for Designer support - do not modify the contents of this method with the code editor.
public
Fill(
   ColumnsInfo colsinfo):void
Sequential
Notes: Fills the ColsInfo data into the first listbox.
public
Read():ColumnsInfo
Sequential
Notes: Reads Selected parameter from listbox to ColsInfo.
private
buttonAdd_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Add selected items from listAvailable to listSelected.
private
buttonRem_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Removes selected items from listSelected.
private
buttonAll_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Add all items from listAvailable to listSelected.
private
buttonClear_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Removes all items from listSelected.
private
OnChangeSelection():void
Sequential
Notes: Event Change Selection.
public
FillAfterSetColumns():bool
Sequential <<property>>
Tags: writeonly=true
Notes: If initially should be all the columns selected or not.