I have two projects Project 1(P1) and Project2 (P2). P1 has the UI part and P2 has the logic part. There is a button on P1. On the click event of the button the logic will appear which is in the P2.
How can I link the ".CS" files (which are the logic in the P2) on the button click event of P1??
Basically These are XAML Code.