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
Post a Comment