Example #1
0
 public void Inicialize(DetectiveExportDetailPaneViewModelBase oPanelBase, int iPartCount)
 {
     this._iPartCount = iPartCount;
     this.SetExportView(oPanelBase);
     if ((this._oViewModel == null) || (this._oViewVisualizationModel == null))
     {
         return;
     }
     this.DisplayCurrentPart();
 }
Example #2
0
 private void SetExportView(DetectiveExportDetailPaneViewModelBase oPanelBase)
 {
     if (oPanelBase is SnooperMAFFViewModel)
     {
         if (this._oViewModel != null)
         {
             return;
         }
         this._oViewModel = oPanelBase as SnooperMAFFViewModel;
     }
     else if (oPanelBase is SnooperMAFFViewVisualizationModel)
     {
         if (this._oViewVisualizationModel != null)
         {
             return;
         }
         this._oViewVisualizationModel = oPanelBase as SnooperMAFFViewVisualizationModel;
     }
 }