static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); TwoZeroFourEightView game2048 = new TwoZeroFourEightView(); game2048.Show(); //Application.Run(new TwoZeroFourEightView()); //Application.Run(new Form2()); Application.Run(); }
private void button1_Click(object sender, EventArgs e) { TwoZeroFourEightView nfrom = new TwoZeroFourEightView(); nfrom.Show(); this.Hide(); }
public void button1_Click(object sender, EventArgs e) { TwoZeroFourEightView o = new TwoZeroFourEightView(); // New Game Windows o.Show(); this.Close(); }