public CustomerMasterPage() { InitializeComponent(); IsPresented = true; BindingContext = new PrescriberViewModel(this.Navigation); this.hcp.BackgroundColor = Color.FromHex("77D065"); this.hcp.TextColor = Color.White; }
public Welcome() { InitializeComponent(); BindingContext = new PrescriberViewModel(this.Navigation); ////Add both contacts and accounts below correction with int type of country code //new AccountViewModel(this.Navigation); //new AppointmentViewModel(this.Navigation); }
void HCP_Handle_Clicked(object sender, System.EventArgs e) { this.hco.BackgroundColor = Color.White; this.hco.TextColor = Color.Black; this.hcp.BackgroundColor = Color.FromHex("77D065"); this.hcp.TextColor = Color.White; BindingContext = new PrescriberViewModel(this.Navigation); isHCP = true; contactName.Text = ""; }