private void newService_Click(object sender, EventArgs e)
        {
            ServiceEdit serviceEdit = new ServiceEdit();

            serviceEdit.Owner = this;
            serviceEdit.ShowDialog();
        }
Exemplo n.º 2
0
        private void editButton_Click(object sender, EventArgs e)//открытие формы изменения
        {
            ServiceEdit serviceEdit = new ServiceEdit(Data.CurrentService);

            serviceEdit.Owner = this;
            serviceEdit.ShowDialog();
        }