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

            view.ShowDialog();
        }