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

            RevenueManager = new RevenueManager();

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