0

I have a component like this

public class MyDatatable : Component
{
    private MyDatatable ParentTableP = null;
    public  MyDatatable ParentTable
    {
        get { return MyDatatableP; }
        set { MyDatatableP=value; }
    }

    private DataColumn ParentColumnP = null;
    public  DataColum  ParentColumn 
    {
        get { return ParentColumnP; }
        set { ParentColumnP=value; }
    }

   private DataColumnCollection ColumnsP = null;
   public  DataColumnCollection Columns
   {
       get { return ColumnsP; }
       set { ColumnsP=value; }
   }
}

I compiled the project and add the toolbox for another project. I am adding component to a form. I want to that after I set a Mydatatable component parenttable property from propertygrid, ParentColumn listing in the property grid from parenttable columns

4

0 に答える 0