Exemplo n.º 1
0
    protected override void OnInitialized()
    {
        Data.Register(this);

        policy     = Plot.Policy.Child();
        areaPolicy = Plot.Policy.Child();

        clip = Plot.Id + "-" + Data.Id;

        xscale = Data.X;
        yscale = Data.Y;
    }
Exemplo n.º 2
0
    protected override void OnInitialized()
    {
        base.OnInitialized();

        renderChildPolicy = Policy.Child();

        Area.Width  = Width;
        Area.Height = Height;

        Data.Init(false);

        Data.Render(true);

        Panel  = Data.Panels[0];
        xscale = Panel.X;
        yscale = Panel.Y;

        Panel.Register(this);
    }