Example #1
0
        //редактировать заявку
        private void editApplication_Click(object sender, EventArgs e)
        {
            whatToDo = false;
            AddOrEditApplication edit = new AddOrEditApplication(whatToDo, applicationID);

            edit.ShowDialog();
            UpdateApplications();
        }
Example #2
0
        //добавить заявку
        private void addApplication_Click(object sender, EventArgs e)
        {
            whatToDo = true;
            AddOrEditApplication add = new AddOrEditApplication(whatToDo);

            add.ShowDialog();
            UpdateApplications();
        }