/// <summary> /// AddressManager객체에 선택 번호 분기 처리하기 /// </summary> private bool DispatchMenu() { bool isRun = true; switch (this.selMenu) { case 1: addrMgr.InsertAddress(); break; case 2: addrMgr.DeleteAddress(); break; case 3: addrMgr.UpdateAddress(); break; case 4: addrMgr.SearchAddress(); break; case 5: addrMgr.PrintAllAddress(); break; case 6: addrMgr.Exit(); isRun = false; break; default: break; } return(isRun); }