Esempio n. 1
0
        public PhoneCallPage(PhoneCallDTO dto)
        {
            InitializeComponent();
            BindingContext = new PhoneCallViewModel(dto);

            this.SetBackText();
        }
Esempio n. 2
0
 public PhoneCallView(Question question, string playerName)
 {
     // Cream o noua instanta a clasei PhoneCallViewModel pe care o atribuim ca Datacontext pentru fereastra
     InitializeComponent();
     DataContext = new PhoneCallViewModel(question, playerName);
     _viewModel  = DataContext as PhoneCallViewModel;
 }
Esempio n. 3
0
 public PhoneCall()
 {
     InitializeComponent();
     BindingContext = new PhoneCallViewModel()
     {
         PhoneNumber = "",
     };
 }