mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-03 07:39:28 +03:00
Dock panel now focuses content when added
This commit is contained in:
parent
3f2c37a434
commit
db07a006ec
@ -136,6 +136,8 @@ namespace DarkUI.Docking
|
|||||||
|
|
||||||
if (ContentAdded != null)
|
if (ContentAdded != null)
|
||||||
ContentAdded(this, new DockContentEventArgs(dockContent));
|
ContentAdded(this, new DockContentEventArgs(dockContent));
|
||||||
|
|
||||||
|
dockContent.Select();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RemoveContent(DarkDockContent dockContent)
|
public void RemoveContent(DarkDockContent dockContent)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user