- using System;
- using System.Threading;
- using System.Windows.Forms;
- class CRunMain
- {
- public static int Main()
- {
- Form objFrom1 = new Form();
- Form objFrom2 = new Form();
- objFrom1.Show();
- objFrom1.Text = "hello, andylin :)";
- objFrom2.Text = "first win application!";
- Application.Run(objFrom2);
- MessageBox.Show("end of programe...", "end", MessageBoxButtons.OK);
- return 0;
- }
- }