Ejemplo n.º 1
0
        private void OK_Click(object sender, EventArgs e)
        {
            CurrentAccount account = (CurrentAccount)this.Owner;

            account.UpdateAll();
            Close();
        }
Ejemplo n.º 2
0
        private void carBooking_FormClosing(object sender, FormClosingEventArgs e)
        {
            CurrentAccount account = (CurrentAccount)this.Owner;

            account.UpdateAll();
            account.Show();
        }