Exemple #1
0
 /// <summary>
 /// LoadForm运行后,Form方可使用
 /// </summary>
 /// <param name="reload"></param>
 public void LoadForm(bool reload)
 {
     if (reload && this.Form != null)
     {
         this.Form = null;
     }
     if (this.Form == null)
     {
         Form = WX.Flow.Model.Form.GetCache(this.FormId.ToInt32());//WX.Flow.Model.Form.NewDataModel(this.FormId.ToInt32());
     }
 }
Exemple #2
0
 public void LoadMyForm(bool reload)
 {
     if (reload && this.MyForm != null)
     {
         this.MyForm = null;
     }
     if (this.MyForm == null)
     {
         this.LoadMyFlow(false);
         this.MyFlow.LoadForm(false);
         MyForm = this.MyFlow.Form;
     }
 }