Exemplo n.º 1
0
        async void MainMenu_GoToPartnerReportForm(View arg1, object arg2)
        {
            var PartnerReportForm = new PartnerReportForm(null);
            await Navigation.PushAsync(PartnerReportForm, false);

            var PartnerListForm = new PartnerListForm();

            PartnerListForm.PartnerReportForm = PartnerReportForm;
            await Navigation.PushAsync(PartnerListForm);
        }
        public PartnerReportForm_UncashedChequesForm(PartnerReportForm PartnerReportForm, Guid PartnerId)
        {
            InitializeComponent();
            Title = "چک های وصول نشده";
            this.PartnerReportForm = PartnerReportForm;

            this.PartnerId = PartnerId;

            BusyIndicatorContainder.BackgroundColor = Color.FromRgba(255, 255, 255, 70);
            BusyIndicator.Color = Color.FromRgba(80, 100, 150, 255);

            UncashedChequesItems.HasUnevenRows  = true;
            UncashedChequesItems.SeparatorColor = Color.FromHex("A5ABB7");
            UncashedChequesItems.ItemTemplate   = new DataTemplate(typeof(UncashedChequeCustomCell));
            UncashedChequesItems.ItemSelected  += (sender, e) => {
                ((ListView)sender).SelectedItem = null;
            };
            UncashedChequesItemsHeader.Children.Add(new UncashedChequeCustomCell().GetView(false));

            FillUncashedCheques(false);
        }
Exemplo n.º 3
0
        private void GoToPartnerReportForm(object sender, EventArgs e)
        {
            var PartnerReportForm = new PartnerReportForm(LastSelectedPartner.PartnerData.Id);

            Navigation.PushAsync(PartnerReportForm);
        }