Example #1
0
 /// <summary>
 /// コンテキストメニュー(単一登録)
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void 単一登録ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.Close();
     HenshuInBo henshuInBo = new HenshuInBo();
     henshuInBo.clipBoardText = Clipboard.GetText();
     Henshu henshu = new Henshu(Constant.TANITSU_TOROKU, henshuInBo);
 }
Example #2
0
 /// <summary>
 /// 検索サービス
 /// </summary>
 /// <param name="dataGridView"></param>
 /// <param name="henshu"></param>
 private void searchAction(ref DataGridView dataGridView, Henshu henshu)
 {
     TanitsuTorokuSearchServiceInBo torokuSearchServiceInBo = new TanitsuTorokuSearchServiceInBo();
     TanitsuTorokuSearchService torokuSearchService = new TanitsuTorokuSearchService();
     torokuSearchServiceInBo.ronrimei1TextBox = henshu.ronrimei1TextBox.Text;
     torokuSearchServiceInBo.ronrimei2TextBox = henshu.ronrimei2TextBox.Text;
     torokuSearchServiceInBo.butsurimeiTextBox = henshu.butsurimeiTextBox.Text;
     torokuSearchService.setInBo(torokuSearchServiceInBo);
     TanitsuTorokuSearchServiceOutBo torokuSearchServiceOutBo = torokuSearchService.execute();
     this.henshuViewDispSetthing(ref dataGridView, torokuSearchServiceOutBo.wordList);
 }