private void MergeMenuItem_Click(object sender, EventArgs e) { ClockState(false); if (OpenDem.ShowDialog() == DialogResult.OK) { if (Path.GetExtension(OpenDem.FileName).ToUpper() == ".DZ") { DZip dz = new DZip(OpenDem.FileName); return; } MergeDemo(OpenDem.FileName); Ready(); } }
private void OpenMenuItem_Click(object sender, EventArgs e) { ClockState(false); if (OpenDem.ShowDialog() == DialogResult.OK) { if (Path.GetExtension(OpenDem.FileName).ToUpper() == ".DZ") { DZip dz = new DZip(OpenDem.FileName); return; } Display.Bsp = null; ClearDemo(); OverlayDemo(OpenDem.FileName); AutoloadBsp(); Ready(); } }