private void lbParties_MouseDoubleClick(object sender, MouseEventArgs e) { if (lbParties.SelectedItem != null) { PartyView view = new PartyView(lbParties.SelectedItem); view.ShowDialog(); } }
private void btnNewParty_Click(object sender, EventArgs e) { PartyView view = new PartyView(); view.ShowDialog(); }