DockPanel Suite子窗体事件未触发

时间:2016-12-23 07:58:05

标签: .net winforms events visual-c++ dockpanel-suite

我在winforms中使用WeifenLuo Dockpanel Suite 我有两种形式(主要和儿童形式),主要形式有dockpanel&子表单将停靠在此dockpanel中。
以子代码形式,除了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   
}

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

1 个答案:

答案 0 :(得分:0)

可能是个错误,您可以在Dock panel dockchanged event don't trigger

上找到更多信息