diff --git a/ISCamRecorder/Setting.Designer.cs b/ISCamRecorder/Setting.Designer.cs
index dde10d4..a8978f7 100644
--- a/ISCamRecorder/Setting.Designer.cs
+++ b/ISCamRecorder/Setting.Designer.cs
@@ -659,7 +659,7 @@
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "ISCamRecoder設定";
- this.Activated += new System.EventHandler(this.Setting_Activated);
+ this.Shown += new System.EventHandler(this.Setting_Shown);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.panel1.ResumeLayout(false);
diff --git a/ISCamRecorder/Setting.cs b/ISCamRecorder/Setting.cs
index a589e7b..464cccd 100644
--- a/ISCamRecorder/Setting.cs
+++ b/ISCamRecorder/Setting.cs
@@ -8,6 +8,7 @@
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
+using System.Diagnostics;
namespace ISCamRecorder {
public partial class Setting : Form {
@@ -73,7 +74,7 @@
///
///
///
- private void Setting_Activated(object sender, EventArgs e) {
+ private void Setting_Shown(object sender, EventArgs e) {
TxtOutputDir.Text = SaveDir;
CboImageType.SelectedItem = ImageType.ToUpper();
CboFrameType.SelectedItem = FrameType.ToUpper();
@@ -107,6 +108,14 @@
///
///
private void BtnApply_Click(object sender, EventArgs e) {
+ // 検証
+ var reccams = new bool[] { ChkRecTop.Checked, ChkRecLeft.Checked, ChkRecFront.Checked, ChkRecRight.Checked };
+ if (reccams.All(s => !s)) {
+ MessageBox.Show("録画カメラは上・左・前・右から最低1つ選択してください");
+ return;
+ }
+
+ // 保存
SaveDir = TxtOutputDir.Text;
ImageType = CboImageType.Text.ToLower();
FrameType = CboFrameType.Text.ToLower();