public ClientEditViewModel(Client c)
 {
     StateManager   = new StateManager();
     RevenueManager = new RevenueManager();
     Entity         = new Client(c);
     ButtonText     = "Edytuj";
     WindowTitle    = "Edytowanie kontrahenta";
 }
Exemplo n.º 2
0
        public ClientAddViewModel()
        {
            StateManager = new StateManager();
            // Default
            Entity       = new Client();
            Entity.State = "zachodniopomorskie";

            RevenueManager = new RevenueManager();

            ButtonText  = "Dodaj";
            WindowTitle = "Dodawanie kontrahenta";
        }