private void simpleButton4_Click(object sender, EventArgs e) { using (CustomGroupings frm = new CustomGroupings(new MessageQueue(), listView1.SelectedItems[0].Name)) { frm.ShowDialog(); } Refresh(); }
private void simpleButton1_Click(object sender, EventArgs e) { using (CustomGroupings frm = new CustomGroupings(new MessageQueue())) { frm.ShowDialog(); } Refresh(); }