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; }
public DataManipulator(DataProvider data, BitmapDrawer drawer) { this.data = data; this.drawer = drawer; LoadImage(); }