//コントロールの入力が完了しているか protected override bool IsComplete() { bool isComplete = true; switch (_type.ToText()) { case "0": //A case "1": //NS case "4": //AAAA try{ _priority.Clear(); } catch (Exception) { //原因調査中 「Attempt to mutate in notification」が発生する //System.out.println(string.Format("Exception %s", e.getMessage())); } _alias.FromText(""); if (!_name.IsComplete()) { isComplete = false; } if (!_address.IsComplete()) { isComplete = false; } break; case "3": //CNAME try{ _priority.Clear(); } catch (Exception) { //原因調査中 「Attempt to mutate in notification」が発生する //System.out.println(string.Format("Exception %s", e.getMessage())); } _address.FromText(""); if (!_name.IsComplete()) { isComplete = false; } if (!_alias.IsComplete()) { isComplete = false; } break; case "2": //MX _alias.FromText(""); if (!_name.IsComplete()) { isComplete = false; } if (!_address.IsComplete()) { isComplete = false; } if (!_priority.IsComplete()) { isComplete = false; } break; default: Util.RuntimeException(string.Format("CtrlOrgDat.IsComplete() unknown type=[{0}]", _type)); break; } return(isComplete); }