event problem(text box)

  • Thread starter Thread starter juli jul
  • Start date Start date
J

juli jul

Hello,
I have a class which is a defenition of a editable list view ,the cells
in this list are text boxes:
public SMK_EditListView()
{
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();


this.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2 });
this.Controls.AddRange(new System.Windows.Forms.Control[]
{this.editBox});

}

My problem is how to detect (while I am catching an event) which one of
the columns(text box) being accessed?
Thank you very much!
 
The problem is that in this class there is a usage of one text box
control (although they use it twice in each column),how can I know which
one of the columns(text boxes) in the list generated by this class- been
chosen?
Thank you!
 
Back
Top