System.ComponentModel.Win32Exception (0x80004005): 创建窗口句柄时出错。
在 System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
在 System.Windows.Forms.Control.CreateHandle()
在 System.Windows.Forms.TextBoxBase.CreateHandle()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.ControlCollection.Add(Control value)
在 System.Windows.Forms.TabPage.TabPageControlCollection.Add(Control value)
在 DocReview.ocrinput.control.ControlLoadForDocConfig.AddTabPageControlByDocConfig(OcrInputNew form, TabControl tabControl, TabPage page, JObject resultObj, JnBusConfigDoc doc)
在 DocReview.ocrinput.control.ControlLoadForDocConfig.InitTabControlTabPage(OcrInputNew form, TabControl tabControl, JnBusConfigDoc doc)
在 DocReview.ocrinput.control.ControlLoadForDocConfig.InitTabControl(OcrInputNew form, TabControl tabControl)
在 DocReview.pages.ocr.OcrInputNew.LoadOcrResult()
在 DocReview.pages.ocr.OcrInputNew.button3_Click(Object sender, EventArgs e)
【System.ComponentModel.Win32Exception (0x80004005): 创建窗口句柄时出错。 】这个错误一般是什么原因?我所有窗口打开用了using,控制清空也用了 Dispose,还重写了CreateHandle 还是会出现这个问题,求大佬指教
在 System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
在 System.Windows.Forms.Control.CreateHandle()
在 System.Windows.Forms.TextBoxBase.CreateHandle()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.ControlCollection.Add(Control value)
在 System.Windows.Forms.TabPage.TabPageControlCollection.Add(Control value)
在 DocReview.ocrinput.control.ControlLoadForDocConfig.AddTabPageControlByDocConfig(OcrInputNew form, TabControl tabControl, TabPage page, JObject resultObj, JnBusConfigDoc doc)
在 DocReview.ocrinput.control.ControlLoadForDocConfig.InitTabControlTabPage(OcrInputNew form, TabControl tabControl, JnBusConfigDoc doc)
在 DocReview.ocrinput.control.ControlLoadForDocConfig.InitTabControl(OcrInputNew form, TabControl tabControl)
在 DocReview.pages.ocr.OcrInputNew.LoadOcrResult()
在 DocReview.pages.ocr.OcrInputNew.button3_Click(Object sender, EventArgs e)
【System.ComponentModel.Win32Exception (0x80004005): 创建窗口句柄时出错。 】这个错误一般是什么原因?我所有窗口打开用了using,控制清空也用了 Dispose,还重写了CreateHandle 还是会出现这个问题,求大佬指教