button - Method must have a return type (C#) -


been getting "method must have return type, , don't understand why.

it "public helpview()" part returns error. (top of code, made block quote)

web browser application, code , forward buttons.

public class helpview     {      }     list<uri> historystack; int historystack_index; bool fromhistory;   //constructor public helpview() {     initializecomponent();     historystack = new list<uri>();     historystack_index = 0;     fromhistory = false;     webbrowser1.navigated += new eventhandler<system.windows.navigation.navigationeventargs>(webbrowser1_navigated);     updatenavbuttons(); } 

helpview not exact name of class. if meant constructor, make sure method name matches class name. if meant method, change

public void helpview() 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -