Advertisement
pushrbx

Class referencing

Feb 8th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.13 KB | None | 0 0
  1. class Form1
  2. {
  3.     Form1() { F2 example = new F2(this);
  4. }
  5. class F2
  6. {
  7.     private Form1 m_form;
  8.     F2(Form1 ref){ m_form = ref; }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement