protected override void OnClosed() { MainClass.RemoveHandler(_drh); }
//на закрытие карточки private void ProtocolList_FormClosed(object sender, FormClosedEventArgs e) { MainClass.RemoveHandler(drh); MainClass.RemoveProtocolHandler(prh); }
private void ListPerson_FormClosed(object sender, FormClosedEventArgs e) { MainClass.RemoveHandler(_drh); }