public void ShowModelEdit(Modelo model) { ModelCreate = new ModelCreateWindow(); Messenger.Default.Send(new IniciarEdicaoModeloMessage() { Modelo = model }); ModelCreate.Focus(); ModelCreate.ShowDialog(); }
public void ShowModelCreate() { ModelCreate = new ModelCreateWindow(); Messenger.Default.Send(new SwitchViewMessage { ModeloViewModel = RegistroModeloEnum.TELA_REGISTRO_UM, LancamentoViewModel = RegistroLancamentoEnum.NONE }); ModelCreate.ShowDialog(); }