protected void Move( MovedListener next, string url = null, bool isRedirect = false, bool isCompletedTiming = false, bool isUrlCheck = false, LoadCompleteChecker useCheckDelegate = null ) { // 移動後に実行する処理 this.NextDelegate = next; this.ReadyStateRedirect = isRedirect; this.ReadyStateCompleted = isCompletedTiming; this.ReadyStateUrlCheck = isUrlCheck; this.ReadyStateUrl = url; this.CompleteCheckerDelegate = useCheckDelegate; // タイムアウトが有効な場合 if (this.TimeoutEnabled) { this.TimeoutTimer.Stop(); this.TimeoutTimer.Start(); } // 移動開始 if (!string.IsNullOrEmpty(url)) { this.Browser.Navigate(url); } // 文書読み込みを待機 if (!isCompletedTiming) { this.ReadyStateTimer.Start(); } }