protected override void OnAppearing()
 {
     Title            = _restaurant.Name;
     LblAddress.Text  = _restaurant.Address;
     LblDescribe.Text = _restaurant.Describing;
     LblWebside.Text  = _restaurant.Webside;
     ResImage.Source  = _pictureManager.GetResImage(_restaurant.ImagePath);
     base.OnAppearing();
 }
Ejemplo n.º 2
0
 public ResEdit(Restaurant restaurant)
 {
     InitializeComponent();
     ResAddress.Text    = restaurant.Address;
     ResDescribe.Text   = restaurant.Describing;
     ResName.Text       = restaurant.Name;
     ResWebside.Text    = restaurant.Webside;
     _restaurant        = restaurant;
     CreateImage.Source = _pictureManager.GetResImage(_restaurant.ImagePath);
 }