private void newVision(object sender, EventArgs e) { editing newlvl = new editing(); newlvl.MdiParent = this; newlvl.Show(); }
private void fileLoad(object sender, EventArgs e) { if (fileDiagOpen.ShowDialog() == DialogResult.OK) { editing newlvl = new editing(File.ReadAllBytes(fileDiagOpen.FileName)); newlvl.MdiParent = this; newlvl.Show(); } }