fork download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9.  
  10. namespace WindowsFormsApplication1
  11. {
  12. public partial class Form1 : Form
  13. {
  14. public Form1()
  15. {
  16. InitializeComponent();
  17. }
  18. public List<string> findWordList;
  19. private void Form1_Load(object sender, EventArgs e)
  20. {
  21. if (findWordList == null)
  22. {
  23. //テキストファイル読み込み処理
  24. //findWordListへリストとして追加
  25. }
  26. if (findWordList.Count > 0)
  27. {
  28. this.Text = findWordList[0]; //テスト用
  29. //この辺で検索処理を行う
  30. findWordList.RemoveAt(0);
  31. if (findWordList.Count > 0)
  32. {
  33. Form1 form = new Form1();
  34. form.findWordList = findWordList;
  35. form.Show();
  36. }
  37. }
  38. }
  39. }
  40. }
  41.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty