public AddSector(int ID) { InitializeComponent(); button1.Text = "Изменить"; sector = new sector(ID); setInfo(); }
public AddSector() { InitializeComponent(); button1.Text = "Добавить"; sector = new sector(); }