Exemplo n.º 1
0
        private void OnDoubleClick(object sender, EventArgs e)
        {
            TransportFrom form = new TransportFrom(
                (Transport)TransportList.SelectedItem,
                EditTransport);

            form.ShowDialog();
        }
Exemplo n.º 2
0
        private void AddTransportButton_Click(object sender, EventArgs e)
        {
            TransportFrom form = new TransportFrom(AddTransport);

            form.ShowDialog();
        }