Following are what I tried:
1) First, I try to do it as stewart's suggestion, to initialize the Desktop Application in my WinFor application.
But there is error when calling
Not sure why.
2)Secondly, I try to customize the Image Viewer.
2.1) Create a new plugin - just follow the explorer tool (ClearCanvas.Desktop.Explorer) project, this plugin will be automatically loaded when Image Viewer(ClearCanvas.Desktop.Executable) runs.
2.2) Disable the Explorer tool (ClearCanvas.Desktop.Explorer)
2.3) Also hide the Menu bar.
For now, the Image Viewer is very clean now.
2.4) Use RemoteStudyFinder to search studies in my WinForm app.
2.5) Use DicomServerServiceClient to retrieve studies.
Iin the event- ILocalDataStoreEventBroker.ReceiveProgressUpdate, I can track how many images imported/committed to local database.
2.6) When all images retrieved, use ViewerAutomationServiceClient to open the study in Image Viewer.
(Check out how the Automation work here
Aha, It may not be a good solution, but it is what I need for now.