Esempio n. 1
0
 public void ClearBusinessflowRunnerItems()
 {
     if (mBusinessflowRunnerItems != null)
     {
         for (int i = 0; i < mBusinessflowRunnerItems.Count; i++)
         {
             RunnerItemPage page = (RunnerItemPage)mBusinessflowRunnerItems[i];
             page.ClearBindings();
             page = null;//to make sure memory gets free
         }
         mBusinessflowRunnerItems.Clear();
         mBusinessflowRunnerItems = null;
     }
 }
Esempio n. 2
0
 public void ClearItemChilds()
 {
     if (mItemChilds != null)
     {
         for (int i = 0; i < mItemChilds.Count; i++)
         {
             RunnerItemPage page = (RunnerItemPage)mItemChilds[i];
             page.ClearBindings();
             page = null;
         }
         //to make sure memory gets free
         mItemChilds.Clear();
         mItemChilds = null;
     }
 }