protected override void OnFormClosed(FormClosedEventArgs e) { base.OnFormClosed(e); Chromium.Dispose(); }
/// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { Chromium.Dispose(); components.Dispose(); } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { Chromium.Dispose(); base.Dispose(disposing); }