我在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
}
我不认为这是错误,如何使这些事件发生火灾?