コード例 #1
0
        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();
        }
コード例 #2
0
 public UploadForm(PVEAPIForm form)
 {
     mainForm = form ?? throw new ArgumentNullException();
     InitializeComponent();
 }