Exemplo n.º 1
0
        private void newCar_Click(object sender, EventArgs e)
        {
            ObjectEdit objEdit = new ObjectEdit();

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

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