Dillon Goeda

Dillon Goeda

  • NA
  • 22
  • 11k

use code elsewhere without copy and paste

Apr 5 2013 3:43 AM
Hey Guys,

I want to know if there is a way to use the code in a button somewhere else without copy and paste it?? e.g if a DialogResult = yes, I want to execute the same code in the button or I want to give the user a specific time to run the app, after that the 'logout' button must be clicked, or the code in that button must be executed??? 

Answers (4)