예제 #1
0
 public F对象_方法(IT客户端 __IT客户端, string __对象名称, M方法 __方法)
 {
     _IT客户端 = __IT客户端;
     _对象名称 = __对象名称;
     _方法 = __方法;
     InitializeComponent();
 }
예제 #2
0
 public void 设置当前方法(string __对象, M方法 __方法, bool __自动执行 = true)
 {
     _对象 = __对象;
     _方法 = __方法;
     this.out值.Rows.Clear();
     if (_方法.形参列表 != null)
     {
         _方法.形参列表.ForEach(q =>
         {
             this.out值.Rows[this.out值.Rows.Add(q.名称, q.元数据.类型, q.元数据.结构, q.元数据.默认值, q.元数据.默认值, q.元数据.描述, q.元数据.范围)].Tag = q;
         });
     }
     if (__自动执行 && (_方法.形参列表 == null || _方法.形参列表.Count == 0))
     {
         执行方法();
         this.splitContainer1.Panel1Collapsed = true;
     }
     else
     {
         this.splitContainer1.Panel1Collapsed = false;
     }
 }