Пример #1
0
        private void OnDoubleClick(object sender, EventArgs e)
        {
            TransportFrom form = new TransportFrom(
                (Transport)TransportList.SelectedItem,
                EditTransport);

            form.ShowDialog();
        }
Пример #2
0
        private void AddTransportButton_Click(object sender, EventArgs e)
        {
            TransportFrom form = new TransportFrom(AddTransport);

            form.ShowDialog();
        }