code_junkie

Execute code after dialog closed and it's not visible

Nov 14th, 2011
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. public static void ShowAndDoStuff()
  2. {
  3. MyDialog dialog = new MyDialog();
  4. dialog.ShowDialog();
  5. dialog.DoStuff();
  6. }
Add Comment
Please, Sign In to add comment