C#我想用反射调用一个窗口,但是还想用委托给父窗口回传值

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 这些方法的,但是在编译的时候编译器并不知道,我该怎么修改,或者我这种思路是否可行呢

Form form = Reflection_debugwindow as Form;
这句改成
Form form = Reflection_debugwindow as main;

要不Form类肯定没有子类定义的属性