예제 #1
0
        /// <summary>
        /// 検索アクションサービス
        /// </summary>
        /// <param name="dataGridView"></param>
        private void searchAction(ref DataGridView dataGridView)
        {
            TanitsuTorokuSearchServiceInBo torokuSearchServiceInBo = new TanitsuTorokuSearchServiceInBo();
            TanitsuTorokuSearchService     torokuSearchService     = new TanitsuTorokuSearchService();

            torokuSearchServiceInBo.ronrimei1TextBox  = this.ronrimei1TextBox.Text;
            torokuSearchServiceInBo.butsurimeiTextBox = this.butsurimeiTextBox.Text;
            torokuSearchServiceInBo.dataType          = this.dataTypeCbx.Text;
            torokuSearchService.setInBo(torokuSearchServiceInBo);
            TanitsuTorokuSearchServiceOutBo torokuSearchServiceOutBo = torokuSearchService.execute();

            this.henshuViewDispSetthing(ref dataGridView, torokuSearchServiceOutBo.wordList);
        }
예제 #2
0
파일: Henshu.cs 프로젝트: jkamiya5/WordConv
 /// <summary>
 /// 検索アクションサービス
 /// </summary>
 /// <param name="dataGridView"></param>
 private void searchAction(ref DataGridView dataGridView)
 {
     TanitsuTorokuSearchServiceInBo torokuSearchServiceInBo = new TanitsuTorokuSearchServiceInBo();
     TanitsuTorokuSearchService torokuSearchService = new TanitsuTorokuSearchService();
     torokuSearchServiceInBo.ronrimei1TextBox = this.ronrimei1TextBox.Text;
     torokuSearchServiceInBo.ronrimei2TextBox = this.ronrimei2TextBox.Text;
     torokuSearchServiceInBo.butsurimeiTextBox = this.butsurimeiTextBox.Text;
     torokuSearchService.setInBo(torokuSearchServiceInBo);
     TanitsuTorokuSearchServiceOutBo torokuSearchServiceOutBo = torokuSearchService.execute();
     this.henshuViewDispSetthing(ref dataGridView, torokuSearchServiceOutBo.wordList);
 }