/// <summary> /// 単一登録・登録アクション /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void registBtn_Click(object sender, EventArgs e) { if (!this.registrationPreCheck(this.tanitsuDataGridView)) { return; } TanitsuTorokuRegistService tanitsuRegistService = new TanitsuTorokuRegistService(); TanitsuTorokuRegistServiceInBo tanitsuRegistServiceInBo = new TanitsuTorokuRegistServiceInBo(); tanitsuRegistServiceInBo.tanitsuDataGridView = this.tanitsuDataGridView; tanitsuRegistService.setInBo(tanitsuRegistServiceInBo); TanitsuTorokuRegistServiceOutBo tanitsuRegistServiceOutBo = tanitsuRegistService.execute(); this.searchAction(ref this.tanitsuDataGridView, this); MessageBox.Show(MessageConst.CONF_001); }