Prima ricerca con tutti campi vuoti
This commit is contained in:
@@ -7,6 +7,8 @@ Imports EgtPHOTOLib
|
|||||||
Public Class TopCommandBarVM
|
Public Class TopCommandBarVM
|
||||||
Inherits VMBase
|
Inherits VMBase
|
||||||
|
|
||||||
|
Private m_bFirstResearch As Boolean = True
|
||||||
|
|
||||||
#Region "FIELDS & PROPERTIES"
|
#Region "FIELDS & PROPERTIES"
|
||||||
|
|
||||||
Friend m_MruFiles As New MruList
|
Friend m_MruFiles As New MruList
|
||||||
@@ -23,7 +25,16 @@ Public Class TopCommandBarVM
|
|||||||
End Get
|
End Get
|
||||||
Set(value As Boolean)
|
Set(value As Boolean)
|
||||||
If value Then
|
If value Then
|
||||||
|
If m_bFirstResearch Then
|
||||||
|
' Resetto la data corrente per la prima ricerca
|
||||||
|
PhotoMap.refSearchPanelVM.StartAddedDate = Nothing
|
||||||
|
PhotoMap.refSearchPanelVM.NotifyPropertyChanged("StartAddedDate")
|
||||||
|
PhotoMap.refSearchPanelVM.EndAddedDate = Nothing
|
||||||
|
PhotoMap.refSearchPanelVM.NotifyPropertyChanged("EndAddedDate")
|
||||||
|
m_bFirstResearch = False
|
||||||
|
End If
|
||||||
PhotoMap.refSearchPanelVM.InitSearchPanel()
|
PhotoMap.refSearchPanelVM.InitSearchPanel()
|
||||||
|
|
||||||
Else
|
Else
|
||||||
PhotoMap.refListPageVM.InitListPage()
|
PhotoMap.refListPageVM.InitListPage()
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user