Пример #1
0
        private void lTripName_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            AddNewTripForm tripForm = new AddNewTripForm(SelectedTrip);

            tripForm.FormClosed += TripForm_FormClosed;
            tripForm.ShowDialog();
        }
Пример #2
0
 private void bAddNewTrip_Click(object sender, EventArgs e)
 {
     addNewTrip           = new AddNewTripForm(SelectedTraveler);
     addNewTrip.AfterAdd += AddNewTrip_AfterAdd;
     addNewTrip.ShowDialog();
 }