private void button1_Click(object sender, EventArgs e) { byte[] File = System.IO.File.ReadAllBytes(Util.Path); Table = new TownMapTable(File); UpdateFields(); }
public Form1(TownMapTable Table) { InitializeComponent(); this.Table = Table; UpdateFields(); }
static void Main() { byte[] File = System.IO.File.ReadAllBytes(Util.Path); TownMapTable t = new TownMapTable(File); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1(t)); }