c# - Form reference causing Stackoverflow Exception -


i'm getting error:

an unhandled exception of type 'system.stackoverflowexception' occurred in microsoft.visualstudio.hostingprocess.utilities.dll

whenever create class:

class trader : form1 {     public void changetext(string text) {         changelabel(text) //a method inside form1.designer.cs     } } 

i feel i'm doing wrong, want access , modify design elements within windows form using (form1). ideas?

i calling class trader within class form1.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -