Exemplo n.º 1
0
 public Form1()
 {
     InitializeComponent();
     fool              = new Fool();
     brother           = new FoolBrother();
     brother.YoungFool = fool;
 }
Exemplo n.º 2
0
 private void buttonRight_Click(object sender, EventArgs e)
 {
     fool    = null;
     brother = null;
     GCRelease();
 }
Exemplo n.º 3
0
 private void buttonWrong_Click(object sender, EventArgs e)
 {
     fool = null;
     GCRelease();
 }