یک کلاس به شکل زیر بهش اضافه کردم :

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace Test33
{
publicclass FormControl : System.Windows.Forms.Form
{
public FormControl()
{
}
protected override void OnShown(EventArgs e)
{
this.Text = "Form Controler";
}
protected override void OnClosed(EventArgs e)
{
this.Dispose();
}
}
}


و ازش تو فرم دوم به این شکل استفاده کردم :
public partial class Form2 : FormControl
{
privatelong[] a = newlong[10000000];
public Form2()
{
InitializeComponent();

}
}


این کلاس توش نبود؟
با این حالت تا فرم بسته بشه کل کلاس Dispose میشه و دیگه نباید تو حافظه باشه، درسته؟