add GifImage
Currently, there are only a few basic features, and more features will be added in version 2.0
This commit is contained in:
1 parent
4d72778190
commit
e4dc65675a
26 files changed
+1686
-7
No files matched your search
@@ -38,7 +38,14 @@ namespace HandyControlDemo.ViewModel
|
||||
|
||||
public MainViewModel(DataService dataService)
|
||||
{
|
||||
Messenger.Default.Register<object>(this, MessageToken.LoadShowContent, obj => SubContent = obj);
|
||||
Messenger.Default.Register<object>(this, MessageToken.LoadShowContent, obj =>
|
||||
{
|
||||
if (SubContent is IDisposable disposable)
|
||||
{
|
||||
disposable.Dispose();
|
||||
}
|
||||
SubContent = obj;
|
||||
});
|
||||
Messenger.Default.Register<object>(this, MessageToken.ClearLeftSelected, obj =>
|
||||
{
|
||||
if (_listBoxItemCurrent == null) return;
|
||||
|
||||
Reference in new issue
Block a user