/// <summary> /// 設定を保存する /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void SaveButton_Click(object sender, EventArgs e) { try { if (!ValidateInputs()) { return; } using (SqlAccessor sqlAccessor = Accessor.AccessorFactory.GetSqlAccessor()) { sqlAccessor.UpdateMigrateForm(this.TargetForm); } Log.Write(RSM.GetMessage(RS.Informations.FormSetted, this.TargetForm.Name)); this.DialogResult = System.Windows.Forms.DialogResult.OK; this.Close(); } catch (Exception ex) { Log.Write(ex); RSM.ShowMessage(this, ex); } }