/// <summary> /// 削除アクション /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void delete_Click(object sender, EventArgs e) { if (!this.deletePreCheck(this.tanitsuDataGridView)) { return; } TanitsuTorokuDeleteService deleteService = new TanitsuTorokuDeleteService(); TanitsuTorokuDeleteServiceInBo deleteServiceInBo = new TanitsuTorokuDeleteServiceInBo(); deleteServiceInBo.tanitsuDataGridView = this.tanitsuDataGridView; deleteService.setInBo(deleteServiceInBo); TanitsuTorokuDeleteServiceOutBo deleteServiceOutBo = (TanitsuTorokuDeleteServiceOutBo)deleteService.execute(); this.searchAction(ref this.tanitsuDataGridView, this); }