Beispiel #1
0
        public void ShowModelEdit(Modelo model)
        {
            ModelCreate = new ModelCreateWindow();

            Messenger.Default.Send(new IniciarEdicaoModeloMessage()
            {
                Modelo = model
            });

            ModelCreate.Focus();
            ModelCreate.ShowDialog();
        }
Beispiel #2
0
        public void ShowModelCreate()
        {
            ModelCreate = new ModelCreateWindow();

            Messenger.Default.Send(new SwitchViewMessage
            {
                ModeloViewModel     = RegistroModeloEnum.TELA_REGISTRO_UM,
                LancamentoViewModel = RegistroLancamentoEnum.NONE
            });

            ModelCreate.ShowDialog();
        }