private void CreateClassAS3frm_Load(object sender, EventArgs e)
        {
            cst = new customCompletionTextBox(txtExtends, this, true, true);
            compInterface = new customCompletionTextBoxAndListBox(txtInterface, lstInterface, this);
            compInterface.ItemAfterAdded += new listItemAdded(compInterface_ListItemAdd);

            observerChange = new ObserverChange((Control) txtExtends );
            observerChange.PutUnderObservation((Control) chkClose  );
            observerChange.PutUnderObservation((Control)superCheck);
            observerChange.PutUnderObservation((Control) constructorCheck );
            observerChange.PutUnderObservation((Control)finalCheck );
            observerChange.PutUnderObservation((Control) rdbInternal);
            observerChange.PutUnderObservation((Control) dynamicCheck);
            observerChange.PutUnderObservation((Control) rdbPublic);
            observerChange.PutUnderObservation((Control)txtFilePath);

            observerChange.UIChange += new uiChange(observerChange_UIChange);

            txtNameClass.ValidateName += new validateName(txtNameClass_ValidateName);
        }
        private void CreateClassAS3frm_FormClosed(object sender, FormClosedEventArgs e)
        {
            cst.Dispose();
            observerChange.Dispose();

            cst = null;
            observerChange = null;
        }