static void Main() { Btchuong1 btc1 = new Btchuong1(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
private void button1_Click(object sender, EventArgs e) { Btchuong1 btc1 = new Btchuong1(); btc1.displayName(); TextBox textbox = new TextBox(); textbox.Show(btc1.displayName()) }