回答編集履歴
1
追記
test
CHANGED
@@ -3,3 +3,49 @@
|
|
3
3
|
タイマーでデータ取得処理を行いタイマー停止
|
4
4
|
|
5
5
|
というのはどうでしょう?
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
下記のような感じです。
|
10
|
+
|
11
|
+
```C#
|
12
|
+
|
13
|
+
private void comboBox1_TextChanged(object sender, EventArgs e)
|
14
|
+
|
15
|
+
{
|
16
|
+
|
17
|
+
Console.WriteLine("comboBox1");
|
18
|
+
|
19
|
+
comboBox2.Text += "1";
|
20
|
+
|
21
|
+
timer1.Start();
|
22
|
+
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
private void comboBox2_TextChanged(object sender, EventArgs e)
|
28
|
+
|
29
|
+
{
|
30
|
+
|
31
|
+
Console.WriteLine("comboBox2");
|
32
|
+
|
33
|
+
timer1.Start();
|
34
|
+
|
35
|
+
}
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
private void timer1_Tick(object sender, EventArgs e)
|
40
|
+
|
41
|
+
{
|
42
|
+
|
43
|
+
Console.WriteLine("SetData");
|
44
|
+
|
45
|
+
timer1.Stop();
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
```
|