fork download
  1. namespace WindowsFormsApplication1 {
  2. public partial class Form1 : Form {
  3. int i;
  4. public Form1() : this(1) { }
  5. public Form1(int i) {
  6. this.i = i;
  7. InitializeComponent();
  8. }
  9. private void Form1_Load(object sender, EventArgs e) {
  10. this.Text = i.ToString();
  11. if (i < 5) {
  12. Form1 form = new Form1(i + 1);
  13. form.Show();
  14. }
  15. }
  16. }
  17. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty