public APIForm(PVEAPIForm form) { mainForm = form ?? throw new ArgumentNullException(); InitializeComponent(); Type pvAction = Assembly.ReflectionOnlyLoad("Interop.PVDMSystem").GetModules()[0].Assembly.GetType("PVDMSystem.PVActionClass"); pvActionQueries = pvAction.GetMethods(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly).Where(x => x.GetParameters().Length > 2).OrderBy(x => x.Name).ToArray(); }
public UploadForm(PVEAPIForm form) { mainForm = form ?? throw new ArgumentNullException(); InitializeComponent(); }