Merge branch 'xaml-C#/data-binding' of codefirst.iut.uca.fr:antoine.perederii/Banquale into xaml-C#/data-binding
commit
c4cd2894fc
@ -1,8 +1,12 @@
|
||||
using Model;
|
||||
|
||||
namespace Banquale.Views.Category;
|
||||
|
||||
public partial class CategoryPage : ContentPage
|
||||
{
|
||||
public CategoryPage()
|
||||
|
||||
public Manager Mgr => (App.Current as App).MyManager;
|
||||
public CategoryPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
@ -1,9 +1,14 @@
|
||||
using Model;
|
||||
|
||||
namespace Banquale.Views.Category;
|
||||
|
||||
public partial class CategoryView : ContentView
|
||||
{
|
||||
public CategoryView()
|
||||
|
||||
public Manager Mgr => (App.Current as App).MyManager;
|
||||
public CategoryView()
|
||||
{
|
||||
InitializeComponent();
|
||||
BindingContext = Mgr;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue