Exemplo n.º 1
0
        public AddFollowUpView(EnquiryModel enquiryModel, bool addToActivity, FollowUpModel followUp = null)
        {
            InitializeComponent();
            DataContext = ViewModel = new AddFollowUpViewModel(enquiryModel, addToActivity, followUp);

            Owner = Application.Current.MainWindow;

            Loaded += OnAddFollowUpViewLoaded;
        }
Exemplo n.º 2
0
        public AddFollowUpView(List<EnquiryModel> enquiries, FollowUpModel followUp = null)
        {
            InitializeComponent();
            DataContext = ViewModel = new AddFollowUpViewModel(enquiries, followUp);

            Owner = Application.Current.MainWindow;

            Loaded += OnAddFollowUpViewLoaded;
        }
Exemplo n.º 3
0
        public AddFollowUpView(FollowUpModel followUp = null)
        {
            InitializeComponent();
            DataContext = ViewModel = new AddFollowUpViewModel(followUp);

            ViewModel.PropertyChanged += ViewModelOnPropertyChanged;

            Owner = Application.Current.MainWindow;
            Header = "Add TO DO";
            Loaded += OnAddFollowUpViewLoaded;
        }