示例#1
0
 public ViewLayer(ViewWindow vw, int width, int height, int index)
 {
     Owner = vw;
     Size = new sysDraw.SizeF(width, height);
     Index = index;
     IsChanged = true;
     IsActive = true;
     IsVisible = true;
 }
示例#2
0
 public void Init(ViewWindow view)
 {
     view.AddLayer(MENU_LAYER);
     view.AddShape(MENU_LAYER, MenuItems.Values.ToArray());
     Owner = view;
 }