質問編集履歴
4
タグの追加
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
3
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
###前提・実現したいこと
|
2
2
|
|
3
|
-
現在、音声認識を利用したデ
|
3
|
+
現在、音声認識を利用したデスクトップアプリケーションを作成しています。
|
4
|
-
|
4
|
+
|
5
|
-
作成している内容については声でiPhoneを操作できる「Siri」のようにデ
|
5
|
+
作成している内容については声でiPhoneを操作できる「Siri」のようにデスクトップ上でも声を使い、アプリを立ち上げる(終了させる)などの操作が出来るというものです。
|
6
6
|
|
7
7
|
基礎となるプログラムは、あらかた完成したのですがこのアプリを操作するためのUIの作成に苦戦しています。
|
8
8
|
|
2
文法の補修
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
1項目のD&Dして指定のアプリケーションのパスを取得することは、できましたがその取得したパスと起動するときに発する言葉を「アプリの追加」
|
23
|
+
1項目のD&Dして指定のアプリケーションのパスを取得することは、できましたがその取得したパスと起動するときに発する言葉を「Form1.cs」の「アプリの追加」項目への追加。「grammar.xml」のファイルには、起動するときに発する言葉のみを追加したいのですがその追加方法がわかりません。
|
24
24
|
|
25
25
|
目指したい完成形としては、取得したパスと起動ワードをテキストボックスに入力し、「登録」ボタンを押すと追加される。追加されたパスとワードが下のリストに追加され、そのリストからパスや登録ワードの変更が出来るというものです。
|
26
26
|
|
1
書式の追加、文章の改良
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,9 +20,21 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
1項目のD&Dして指定のアプリケーションのパスを取得することは、できましたがその取得したパスと起動するときに発する言葉を「アプリの追加」の項目とに追加したいのですがその追加方法がわかりません。
|
23
|
+
1項目のD&Dして指定のアプリケーションのパスを取得することは、できましたがその取得したパスと起動するときに発する言葉を「アプリの追加」の項目と「grammar.xml」の辞書ファイルに追加したいのですがその追加方法がわかりません。
|
24
|
+
|
24
|
-
|
25
|
+
目指したい完成形としては、取得したパスと起動ワードをテキストボックスに入力し、「登録」ボタンを押すと追加される。追加されたパスとワードが下のリストに追加され、そのリストからパスや登録ワードの変更が出来るというものです。
|
26
|
+
|
25
|
-
|
27
|
+
このやり方をお教えてほしいです。よろしくお願いします。
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
下の画像は現在作成途中のUIになります。
|
32
|
+
|
33
|
+
また、何か追加した方が良いと思う機能がありましたら意見としてコメントいただけると幸いです。
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+

|
26
38
|
|
27
39
|
|
28
40
|
|
@@ -254,6 +266,8 @@
|
|
254
266
|
|
255
267
|
|
256
268
|
|
269
|
+
|
270
|
+
|
257
271
|
//ユーザーインターフェース
|
258
272
|
|
259
273
|
|
@@ -264,6 +278,14 @@
|
|
264
278
|
|
265
279
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
266
280
|
|
281
|
+
this.textBox2 = new System.Windows.Forms.TextBox();
|
282
|
+
|
283
|
+
this.button1 = new System.Windows.Forms.Button();
|
284
|
+
|
285
|
+
this.button2 = new System.Windows.Forms.Button();
|
286
|
+
|
287
|
+
this.listBox1 = new System.Windows.Forms.ListBox();
|
288
|
+
|
267
289
|
this.SuspendLayout();
|
268
290
|
|
269
291
|
//
|
@@ -280,7 +302,7 @@
|
|
280
302
|
|
281
303
|
this.textBox1.Name = "textBox1";
|
282
304
|
|
283
|
-
this.textBox1.Size = new System.Drawing.Size(
|
305
|
+
this.textBox1.Size = new System.Drawing.Size(456, 19);
|
284
306
|
|
285
307
|
this.textBox1.TabIndex = 0;
|
286
308
|
|
@@ -292,11 +314,91 @@
|
|
292
314
|
|
293
315
|
//
|
294
316
|
|
317
|
+
// textBox2
|
318
|
+
|
319
|
+
//
|
320
|
+
|
321
|
+
this.textBox2.Location = new System.Drawing.Point(12, 37);
|
322
|
+
|
323
|
+
this.textBox2.Multiline = true;
|
324
|
+
|
325
|
+
this.textBox2.Name = "textBox2";
|
326
|
+
|
327
|
+
this.textBox2.Size = new System.Drawing.Size(456, 19);
|
328
|
+
|
329
|
+
this.textBox2.TabIndex = 1;
|
330
|
+
|
331
|
+
this.textBox2.Text = "登録ワードを入力してください";
|
332
|
+
|
333
|
+
//
|
334
|
+
|
335
|
+
// button1
|
336
|
+
|
337
|
+
//
|
338
|
+
|
339
|
+
this.button1.Location = new System.Drawing.Point(393, 62);
|
340
|
+
|
341
|
+
this.button1.Name = "button1";
|
342
|
+
|
343
|
+
this.button1.Size = new System.Drawing.Size(75, 23);
|
344
|
+
|
345
|
+
this.button1.TabIndex = 2;
|
346
|
+
|
347
|
+
this.button1.Text = "クリア";
|
348
|
+
|
349
|
+
this.button1.UseVisualStyleBackColor = true;
|
350
|
+
|
351
|
+
//
|
352
|
+
|
353
|
+
// button2
|
354
|
+
|
355
|
+
//
|
356
|
+
|
357
|
+
this.button2.Location = new System.Drawing.Point(312, 62);
|
358
|
+
|
359
|
+
this.button2.Name = "button2";
|
360
|
+
|
361
|
+
this.button2.Size = new System.Drawing.Size(75, 23);
|
362
|
+
|
363
|
+
this.button2.TabIndex = 3;
|
364
|
+
|
365
|
+
this.button2.Text = "登録";
|
366
|
+
|
367
|
+
this.button2.UseVisualStyleBackColor = true;
|
368
|
+
|
369
|
+
//
|
370
|
+
|
371
|
+
// listBox1
|
372
|
+
|
373
|
+
//
|
374
|
+
|
375
|
+
this.listBox1.FormattingEnabled = true;
|
376
|
+
|
377
|
+
this.listBox1.ItemHeight = 12;
|
378
|
+
|
379
|
+
this.listBox1.Location = new System.Drawing.Point(12, 95);
|
380
|
+
|
381
|
+
this.listBox1.Name = "listBox1";
|
382
|
+
|
383
|
+
this.listBox1.Size = new System.Drawing.Size(456, 88);
|
384
|
+
|
385
|
+
this.listBox1.TabIndex = 4;
|
386
|
+
|
387
|
+
//
|
388
|
+
|
295
389
|
// Form1
|
296
390
|
|
297
391
|
//
|
298
392
|
|
299
|
-
this.ClientSize = new System.Drawing.Size(6
|
393
|
+
this.ClientSize = new System.Drawing.Size(618, 195);
|
394
|
+
|
395
|
+
this.Controls.Add(this.listBox1);
|
396
|
+
|
397
|
+
this.Controls.Add(this.button2);
|
398
|
+
|
399
|
+
this.Controls.Add(this.button1);
|
400
|
+
|
401
|
+
this.Controls.Add(this.textBox2);
|
300
402
|
|
301
403
|
this.Controls.Add(this.textBox1);
|
302
404
|
|
@@ -402,8 +504,6 @@
|
|
402
504
|
|
403
505
|
}
|
404
506
|
|
405
|
-
|
406
|
-
|
407
507
|
```
|
408
508
|
|
409
509
|
|
@@ -430,6 +530,10 @@
|
|
430
530
|
|
431
531
|
<item>エクセル</item>
|
432
532
|
|
533
|
+
<item>パワポ</item>
|
534
|
+
|
535
|
+
<item>パワーポイント</item>
|
536
|
+
|
433
537
|
|
434
538
|
|
435
539
|
|