Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Xamarin.Forms;
- using Xamarin.Forms.Xaml;
- using XamarinTest.ViewModel;
- namespace XamarinTest.Views
- {
- [XamlCompilation(XamlCompilationOptions.Compile)]
- public partial class ReportView : ContentPage
- {
- ReportVM reportVM;
- public ReportView()
- {
- InitializeComponent();
- reportVM = new ReportVM();
- BindingContext = reportVM;
- }
- private void btnComplies_Clicked(object sender, EventArgs e)
- {
- if(reportVM.CurrentRow != -1)
- {
- reportVM.verificateStatusChange("Comply");
- }
- }
- private void btnDComply_Clicked(object sender, EventArgs e)
- {
- if (reportVM.CurrentRow != -1)
- {
- reportVM.verificateStatusChange("No Comply");
- }
- }
- private void btnNA_Clicked(object sender, EventArgs e)
- {
- if (reportVM.CurrentRow != -1)
- {
- reportVM.verificateStatusChange("N/A");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment