void ShowPaidment() { var dialog = CashDialog.NewInstance(); dialog.Amount = ttlamt + ttltax; dialog.ShowsDialog = true; dialog.SetStyle(DialogFragmentStyle.Normal, Android.Resource.Style.ThemeDialog); dialog.Show(FragmentManager, "dialog"); }
void payment(Invoice inv) { // var intent = new Intent (this, typeof(Payment)); // double ttl = inv.amount + inv.taxamt; // intent.PutExtra ("amount", ttl.ToString()); // StartActivity (intent); var dialog = CashDialog.NewInstance(); dialog.Amount = inv.amount + inv.taxamt; dialog.Show(FragmentManager, "dialogPaid"); }
void ShowPaidment() { var dialog = CashDialog.NewInstance(); string[] codes = spinCust.SelectedItem.ToString().Split(new char[] { '|' }); if (codes.Length < 2) { Toast.MakeText(this, Resources.GetString(Resource.String.msg_invalidcust), ToastLength.Long).Show(); return; } dialog.Amount = ttlamt + ttltax; dialog.CustName = codes [1]; dialog.InvNo = txtInvNo.Text; dialog.Remark = string.IsNullOrEmpty(inv.remark) ? "" : inv.remark; dialog.Show(FragmentManager, "dialogPaid"); }
public static CashDialog NewInstance() { var dialogFragment = new CashDialog(); return(dialogFragment); }
public static CashDialog NewInstance() { var dialogFragment = new CashDialog(); return dialogFragment; }