public MainPage() { InitializeComponent(); _notificationRegistrationService = ServiceContainer.Resolve <INotificationRegistrationService>(); }
public LoginPage() { InitializeComponent(); _notificationRegistrationService = ServiceContainer.Resolve <INotificationRegistrationService>(); _loginService = new LoginService(Config.BackendServiceEndpoint); }
public getuser() { InitializeComponent(); this.BindingContext = new getuserViewModels(); _notificationRegistrationService = ServiceContainer.Resolve <INotificationRegistrationService>(); }
public Login_ViewModels() { email = Settings.email; password = Settings.password; _notificationRegistrationService = ServiceContainer.Resolve <INotificationRegistrationService>(); }
public AuthorizedUserPage(string username, string company, string sectorCompany) { InitializeComponent(); _notificationRegistrationService = ServiceContainer.Resolve <INotificationRegistrationService>(); usernameLabel.Text = "Username: <strong>" + username + "</strong>"; companyLabel.Text = "Company: <strong>" + company + "</strong>"; sectorCompanyLabel.Text = "Sector company: <strong>" + sectorCompany + "</strong>"; }
public Page1() { //list = new List<point_detail> { new point_detail { thoigianden = "xe1" }, new point_detail { thoigianden = "xe2" } }; InitializeComponent(); //this.BindingContext = new ChiTietChuyenDiViewModel(); //lv.HeightRequest = l.Count * lv.RowHeight; //lv.ItemAppearing += Lv_ItemAppearing; //lv.SizeChanged += Lv_SizeChanged; //ListViewPositions.ItemsSource = Positions; //CustomPin pin = new CustomPin //{ // Type = PinType.Place, // Position = new Xamarin.Forms.Maps.Position(10.832282, 106.778043), // Label = "Xamarin San Francisco Office", // Address = "394 Pacific Ave, San Francisco CA", // Name = "Xamarin", // Url = "http://xamarin.com/about/" //}; //CustomPin pin2 = new CustomPin //{ // Type = PinType.Place, // Position = new Xamarin.Forms.Maps.Position(10.845966, 106.765224), // Label = "2", // Address = "add 2", // Name = "Xamarin", // Url = "http://xamarin.com/about/" //}; //CustomPin pin3 = new CustomPin //{ // Type = PinType.Place, // Position = new Xamarin.Forms.Maps.Position(10.868034, 106.780647), // Label = "3", // Address = "add 3", // Name = "Xamarin", // Url = "http://xamarin.com/about/" //}; //customMap.CustomPins = new List<CustomPin> { pin, pin2, pin3 }; //customMap.CustomPins.First().TrangThai = 0; //customMap.Pins.Add(pin); //customMap.Pins.Add(pin2); //customMap.Pins.Add(pin3); //customMap.MoveToRegion(MapSpan.FromCenterAndRadius(new Xamarin.Forms.Maps.Position(10.832282, 106.778043), Xamarin.Forms.Maps.Distance.FromMiles(1.0))); //ToolbarItem toolbarItem = new ToolbarItem(); //toolbarItem.Text = "next"; //toolbarItem.Clicked += ToolbarItem_Clicked; //ToolbarItems.Add(toolbarItem); _notificationRegistrationService = ServiceContainer.Resolve <INotificationRegistrationService>(); }
public CodemashApplicationService(ISettingsRepository settingsRepository, INotificationRegistrationService registrationService) { SettingsRepository = settingsRepository; RegistrationService = registrationService; }