using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; namespace ToolsMPQ { public partial class FormMain : Form { public FormMain() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { OpenFileDialog fd = new OpenFileDialog(); fd.DefaultExt = ".mpq"; if (fd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { new FormUnarchive(new FileInfo(fd.FileName)).Show(); } } private void button2_Click(object sender, EventArgs e) { } } }