示例#1
0
 public Form1()
 {
     InitializeComponent();
     data              = new DataProvider(pictureBox1.Width, pictureBox1.Height, pictureBox2.Width, pictureBox2.Height);
     drawer            = new BitmapDrawer(data);
     manipulator       = new DataManipulator(data, drawer);
     checkBox1.Checked = true;
     pictureBox2.Image = data.miniature;
 }
示例#2
0
 public DataManipulator(DataProvider data, BitmapDrawer drawer)
 {
     this.data   = data;
     this.drawer = drawer;
     LoadImage();
 }