private void SerializeComponent(IDesignerSerializationManager manager, IComponent component)
        {
            CodeDomSerializer serializer = base.GetSerializer(manager, component) as CodeDomSerializer;              // ComponentCodeDomSerializer

            if (serializer != null)
            {
                this.Code.AddField(new CodeMemberField(component.GetType(), manager.GetName(component)));

                CodeStatementCollection statements = (CodeStatementCollection)serializer.Serialize(manager, component);

                CodeStatement ctorStatement = ExtractCtorStatement(manager, statements, component);
                if (ctorStatement != null)
                {
                    Code.AddPreInitStatement(ctorStatement);
                }
                Code.AddInitStatements(statements);
            }
        }