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