C
C#2w ago
sudfhs

What is the best way to edit a form loaded from Assembly?

basically i don't want to modify the dll itself.
c#
Assembly assembly = Assembly.LoadFrom("Form.dll");
Type type = assembly.GetType("Main.frmMain");
Form form = (Form)Activator.CreateInstance(type);
c#
Assembly assembly = Assembly.LoadFrom("Form.dll");
Type type = assembly.GetType("Main.frmMain");
Form form = (Form)Activator.CreateInstance(type);
1 Reply
Mayor McCheese
Form has controls collection
Want results from more Discord servers?
Add your server