Ejemplo n.º 1
0
        public void CreateNewImage(string filename)
        {
            Bitmap   bitmap = Bitmap.FromFile(filename) as Bitmap;
            My_Image img    = new My_Image(this, bitmap);

            UnselectAll();
            SelectedFigure = img;
            SelectedFigures.Add(img);
            picture.FigureList.Add(img);
            Lock = true;
        }
Ejemplo n.º 2
0
 public My_Image(My_Image item)
     : base(item)
 {
     this.bitmap = item.bitmap;
     draw        = Draw;
 }