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

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

            ac.ShowDialog();
            UpdateClients();
        }