public MainForm() { InitializeComponent(); ws = MainPB.Width; hs = MainPB.Height; bmp = new Bitmap(ws, hs); scene = new Scene(ws); draw = new DrawAll(scene); }
public MainForm() { InitializeComponent(); ws = MainPB.Width; hs = MainPB.Height; bmp = new Bitmap(ws, hs); scene1 = new Scene(ws, 1); scene2 = new Scene(ws, 5); scene3 = new Scene(ws, 10); scene4 = new Scene(ws, 15); draw = new DrawAll(scene1, scene2, scene3, scene4); }