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; }
public void Init(ViewWindow view) { view.AddLayer(MENU_LAYER); view.AddShape(MENU_LAYER, MenuItems.Values.ToArray()); Owner = view; }