public void Dispose()
 {
     htWindow.Dispose();
     (Content as Page_CreateRecipe).DataContext = null;
     (Content as Page_CreateRecipe).Close();
     (surfaceDetection as SurfaceDetection).OnSaveXML -= SaveXML;
     surfaceDetection.Dispose();
     Content = null;
     SurfaceDetectionObject    = null;
     SurfaceDetectionParameter = null;
     LoadRegionUserRegions     = null;
     Procedures = null;
 }
示例#2
0
 public void Dispose()
 {
     //htWindow.Dispose();
     (Content as Page_CreateRecipe).DataContext = null;
     (Content as Page_CreateRecipe).Close();
     (addPoxyRegions as AddPoxyRegions).OnSaveXML -= SaveXML;
     addPoxyRegions.Dispose();
     Content                      = null;
     epoxyModelObject             = null;
     epoxyParameter               = null;
     epoxyModelVerifyParameter    = null;
     epoxyModelVerifyParameterSet = null;
     epoxyUserRegions             = null;
     Procedures                   = null;
 }
示例#3
0
 public void Dispose()
 {
     htWindow.Dispose();
     (Content as Page_CreateRecipe).DataContext = null;
     (Content as Page_CreateRecipe).Close();
     (createCutRegionModel as CreateCutRegionModel).OnSaveXML -= SaveXML;
     createCutRegionModel.Dispose();
     Content              = null;
     CutRegionObject      = null;
     CutRegionParameter   = null;
     CutRegionUserRegions = null;
     OriRegionUserRegions = null;
     Procedures           = null;
     CutRegionRecipeNames = null;
 }