public override void Place(int x, int y, int w, int h) { try { block_changed_events = true; split.SetBounds(x, y, w, h); // Margin decor1 = (Child1.DriverObject as WinFormsSplitterPanel).GetDecorationSize(); // Margin decor2 = (Child2.DriverObject as WinFormsSplitterPanel).GetDecorationSize(); if (firstlayout) { UpdateConstraints(); firstlayout = false; } } finally { block_changed_events = false; } }