private void alphaMap1Preview_Click(object sender, EventArgs e) { if (this.terrain == null) return; ImageViewer viewer = new ImageViewer(this.alphaMap1Preview.Image, "Alpha Map (Layer 1)"); this.forms.Add(viewer); viewer.Show(); }
private void cellMapPreview_Click(object sender, EventArgs e) { if (this.terrain == null) return; ImageViewer viewer = new ImageViewer(this.cellMapPreview.Image, "Cell Type Map"); this.forms.Add(viewer); viewer.Show(); }