Chúng tôi đang gặp lỗi này trong một ứng dụng Winform. Bất cứ ai có thể giúp đỡ về lý do tại sao bạn sẽ thấy lỗi này, và quan trọng hơn là làm thế nào để sửa chữa nó hoặc tránh nó xảy ra.Vấn đề Winforms - Lỗi khi tạo cửa sổ xử lý
System.ComponentModel.Win32Exception: Error creating window handle. at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp) at System.Windows.Forms.Control.CreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e) at System.Windows.Forms.ButtonBase.OnVisibleChanged(EventArgs e)
Tôi đã gặp sự cố này và thấy ứng dụng của tôi đã báo cáo 9600+ đối tượng USER và 1800+ đối tượng GDI. Vấn đề của tôi là tôi không làm gì sai, tôi chỉ thêm nhiều mục vào FlowLayoutPanel. Tôi đoán tôi sẽ phải 'trang' dữ liệu được hiển thị ... –