Exemple #1
0
        public void ReadLayers()
        {
            Canvas ls = pc.getLayers();

            stackLayer.Children.Clear();
            for (int i = 0; i < ls.Children.Count; i++)
            {
                PhotoLayer pl = ls.Children[i] as PhotoLayer;
                stackLayer.Children.Add(pl.li);
                pl.li.ReadInfor();
                LayerIcon li = stackLayer.Children[i] as LayerIcon;
                li.selectLayer += new LayerEventHandler(SelectLayerIcon_selectLayer);
                li.ReadInfor();
            }
        }
Exemple #2
0
 private void UpStep_Click(object sender, RoutedEventArgs e)
 {
     Canvas.SetTop(Target.getLayers(), Canvas.GetTop(Target.getLayers()) - textBoxMovePix.IntValue);
 }