public void Initialize(MainForm mainForm) { this.MainForm = mainForm; MainForm.AddToolStrip(toolStrip1); MainForm.AddToolStrip(toolStrip2); MainForm.AddToolStrip(toolStrip3); camera = new Camera(new float[] { .25f, .5f, .75f, 1, 2, 4, 6, 8, 12, 16, 24, 32 }, 3, new Point(Width / 2, Height / 2)); initializeBlockViewers(); EditingMode = EditingMode; //Reset EditingMode after MainForm has been set. UpdatedSettings(); }