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;
|
namespace Banquale.Views.Category;
|
||||||
|
|
||||||
public partial class CategoryPage : ContentPage
|
public partial class CategoryPage : ContentPage
|
||||||
{
|
{
|
||||||
public CategoryPage()
|
|
||||||
|
public Manager Mgr => (App.Current as App).MyManager;
|
||||||
|
public CategoryPage()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
|
using Model;
|
||||||
|
|
||||||
namespace Banquale.Views.Category;
|
namespace Banquale.Views.Category;
|
||||||
|
|
||||||
public partial class CategoryView : ContentView
|
public partial class CategoryView : ContentView
|
||||||
{
|
{
|
||||||
public CategoryView()
|
|
||||||
|
public Manager Mgr => (App.Current as App).MyManager;
|
||||||
|
public CategoryView()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
BindingContext = Mgr;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in new issue