private void cv1List_DoubleClick(object sender, EventArgs e) { cv1RecordEditor editor = new cv1RecordEditor((m_workingfile.Data as cv1DataCollection)[(sender as ListView).SelectedIndices[0]]); editor.Left = this.Left + 50; editor.Top = this.Top + 50; editor.ShowDialog(); cv1UpdateList(); }