示例#1
0
        public static SubUnit getEditedSubUnit(SubUnit s)
        {
            addSubUnit wndS = new addSubUnit(s);

            wndS.ShowDialog();
            return(wndS.subUnit);
        }
示例#2
0
        public static SubUnit getNewSubUnit(int _idMilitaryUnit, int _idFKSubUnit)
        {
            addSubUnit wndS = new addSubUnit(_idMilitaryUnit, _idFKSubUnit);

            wndS.ShowDialog();
            return(wndS.subUnit);
        }