//Добавление вида ремонта private void button5_Click(object sender, EventArgs e) { this.Hide(); RepairTypeAdd addRepair = new RepairTypeAdd(); addRepair.ShowDialog(); this.Show(); }
private void button1_Click(object sender, EventArgs e) { this.Hide(); RepairTypeAdd repair = new RepairTypeAdd(); repair.ShowDialog(); this.Show(); UpdateRepairTypes(); }