public Control view() { Control v = new InstrumentListView(); v.DataContext = this; return(v); }
private void SelectAllInstruments_Click(object sender, EventArgs e) { foreach (ListViewItem item in InstrumentListView.Items) { item.Selected = true; } InstrumentListView.Focus(); }
public Control view() { Control v = new InstrumentListView(); v.DataContext = this; return v; }