teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

誤字脱字の修正

2015/04/23 08:27

投稿

htsign
htsign

スコア870

answer CHANGED
@@ -17,7 +17,7 @@
17
17
  public partial class ScreenSaverWindow
18
18
  : Form
19
19
  {
20
- // 表示する画像を切り替える感覚を指定します。単位は秒。
20
+ // 表示する画像を切り替える間隔を指定します。単位は秒。
21
21
  private const int ChangingPictureInterval = 5;
22
22
  // 表示したい画像群を含むフォルダを指定します。
23
23
  private readonly string TargetDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures);
@@ -27,7 +27,7 @@
27
27
 
28
28
  public ScreenSaverWindow()
29
29
  {
30
- this.InitializeComponents();
30
+ this.InitializeComponent();
31
31
  }
32
32
 
33
33
  private void ShowRandomImage(object imageFiles)
@@ -42,7 +42,7 @@
42
42
  }));
43
43
  }
44
44
 
45
- private void SetQuitHander(Control control)
45
+ private void SetQuitHandler(Control control)
46
46
  {
47
47
  control.MouseMove += (sender, e) =>
48
48
  {
@@ -66,7 +66,7 @@
66
66
  TimeSpan.Zero,
67
67
  TimeSpan.FromSeconds(ChangingPictureInterval));
68
68
 
69
- this.SetQuitHander(pictureBox);
69
+ this.SetQuitHandler(pictureBox);
70
70
  }
71
71
  }
72
72
  /// <summary>
@@ -77,7 +77,7 @@
77
77
  {
78
78
  internal PictureBox pictureBox = new PictureBox();
79
79
 
80
- private void InitializeComponents()
80
+ private void InitializeComponent()
81
81
  {
82
82
  this.SuspendLayout();
83
83