public static SubUnit getEditedSubUnit(SubUnit s) { addSubUnit wndS = new addSubUnit(s); wndS.ShowDialog(); return(wndS.subUnit); }
public static SubUnit getNewSubUnit(int _idMilitaryUnit, int _idFKSubUnit) { addSubUnit wndS = new addSubUnit(_idMilitaryUnit, _idFKSubUnit); wndS.ShowDialog(); return(wndS.subUnit); }