1

我在winforms中使用WeifenLuo Dockpanel Suite
我有 2 个表单(主表单和子表单),主表单有停靠面板,子表单将停靠在此停靠面板中。
在子窗体中,除了 DockChanged 和 DockStateChanged 之外,没有任何事件被触发

private: Void CamWindow_ResizeBegin(System::Object^  sender, System::EventArgs^  e) {
  Console::WriteLine("Resize begin"); //doesn't work, tried many other mouse events as well
}   

private: Void CamWindow_DockStateChanged(System::Object^  sender, System::EventArgs^  e) {
  Console::WriteLine("Dock state Changed");  //works   
}

我不认为这是错误,如何使这些事件触发?

4

1 回答 1

0

可能是一个错误,您可以在 Dock 面板上找到更多信息dockchanged event don't trigger

于 2016-12-23T08:59:11.297 回答