I am using VS 2008 (C#)... I have created a function in a GlobalClass to use it globally.. This is for opening a dialog box. When I call this function in my method it works but
Either change the method to return the filename or the dialog object itself Or move the openfiledialog into an seperate property outside the method