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

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -