|
WPF DevExpress MDI DocumentPanel
|
|||
---|---|---|---|
#18+
Всем привет. Использую DocumentPanel от DevExpress для создания MDI-окна WPF: private void buttonOrder_ItemClick(object sender, ItemClickEventArgs e) { DocumentGroup documentGroup = dockLayoutManager1.GetItem("dockLayoutManager1") as DocumentGroup; // searh a group if (documentGroup == null) { documentGroup = dockLayoutManager1.DockController.AddDocumentGroup(DockType.Left); // create the if necessary documentGroup.Name = "dockLayoutManager1"; documentGroup.MDIStyle = DevExpress.Xpf.Docking.MDIStyle.MDI; } DocumentPanel document = dockLayoutManager1.GetItem("Clients") as DocumentPanel; if (document == null) { document = dockLayoutManager1.DockController.AddDocumentPanel(documentGroup); // сreate a panel in the document group } } Вопрос в следующем : как грамотно освобождать память от объекта DocumentPanel (при закрытии окна (панели) и повторном клике buttonOrder после этого - окно не появляется, т.е. document<>null) ?? ... |
|||
:
Нравится:
Не нравится:
|
|||
31.10.2012, 17:27 |
|
WPF DevExpress MDI DocumentPanel
|
|||
---|---|---|---|
#18+
УЖОС!!! коллеги, облегчаю вам чтение вопроса новобранца :)) andrey_bezusyakВсем привет. Использую DocumentPanel от DevExpress для создания MDI-окна WPF: Код: c# 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
Вопрос в следующем : как грамотно освобождать память от объекта DocumentPanel (при закрытии окна (панели) и повторном клике buttonOrder после этого - окно не появляется, т.е. document<>null) ?? ... |
|||
:
Нравится:
Не нравится:
|
|||
31.10.2012, 17:42 |
|
|
start [/forum/topic.php?fid=21&msg=38020542&tid=1441623]: |
0ms |
get settings: |
9ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
56ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
61ms |
get tp. blocked users: |
2ms |
others: | 63ms |
total: | 223ms |
0 / 0 |