Пример #1
0
 private void AddLayer(DataGridLayer layer, Panel parent)
 {
     layer.DetachUI(parent);
     layer.Owner = this;
     layer.AttachUI(parent);
 }
Пример #2
0
 private static void RemoveLayer(DataGridLayer layer, Panel parent)
 {
     layer.DetachUI(parent);
     layer.Owner = null;
 }