Beispiel #1
0
        private void editClient_Click(object sender, EventArgs e)
        {
            whatToDo = false;
            AddOrEditClient ac = new AddOrEditClient(whatToDo, clientID);

            ac.ShowDialog();
            UpdateClients();
        }
Beispiel #2
0
        //добавление нового заказчика
        private void addNewClient_Click(object sender, EventArgs e)
        {
            whatToDo = true;
            AddOrEditClient ac = new AddOrEditClient(whatToDo);

            ac.ShowDialog();
            UpdateClients();
        }