コード例 #1
0
 protected override void DoAction()
 {
     ExcelApp.GetType().InvokeMember("Run",                                          // it'd be nice if there
                                     System.Reflection.BindingFlags.Default |        // was an easier way of
                                     System.Reflection.BindingFlags.InvokeMethod,    // doing this, but we're
                                     null,                                           // bound by c# being a
                                     ExcelApp,                                       // strongly typed language
                                     this.GetMacroArgArray());
 }