private void threadBox_ItemActivate(object sender, EventArgs e) { var status = threadBox.SelectedItems.FirstOrDefault(); if (status != null) { var tf = new TootForm(_ac, status); tf.Show(); } }
private void listView1_ItemActivate(object sender, EventArgs e) { var status = statusListView.SelectedItems.SingleOrDefault(); if (status != null) { var tf = new TootForm(_ac, status); tf.Show(); } }