Assembly assembly = AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(x => x.GetName().Name.Contains("main"));
Reflection_debugwindow = assembly.CreateInstance("main." + windowname, true, System.Reflection.BindingFlags.Default, null, args, null, null);
Form form = Reflection_debugwindow as Form;
form.pass_activeimage = get_active_image;
form.passimage = reciveimage;
form.get_nodetag = change_NodeTag;
会报错找不到方法
实际上我反射调用的窗口是有pass_activeimage passimage get_nodetag 这些方法的,但是在编译的时候编译器并不知道,我该怎么修改,或者我这种思路是否可行呢