private void OnContentChanged(ContentChangedMessage message)
        {
            if (CurrentContent != null)
                CurrentContent.Dispose();

            CurrentContent = message.Content;
            if (CurrentContent != null)
                CurrentContent.Initialize();
        }
 public ShowWindowEventArgs(BaseViewModel context, bool isDialog)
 {
     Context = context;
     IsDialog = isDialog;
 }