To add a public part in Development Component (in SAP component model), yo can check following link:
In slides 14, 15 yo can see how to create a public part in NWDS. In fact, you have to publish the Web Dynpro Component in a Public Part, so you can reuse it from another Development Component of type Web Dynpro. Note you can have multiple Web Dynpro Cmponents in the same Development Component, and you can decide to add only some of them in a public part, or distribute them in various public parts.
If you want to navigate between two Web Dynpro Components that belong to the same Development Component, no need to add public parts at all (at least not for enabling navigation). You should use Public Parts if you want to navigate between two Web Dynpro Components that belong to different Development Components.
Once you are publishing your Web Dynpro Component in a public part of DC 1, you have to add this public part in the section "DC Metadata > DC Definition > Used DCs" of DC 2.
To navigate between two windows, check this document: http://es.scribd.com/doc/45202025/How-to-Navigate-Inside-Web-Dynpro-Component-Interface-Views
Hope it helps