private void Payment_Load(object sender, EventArgs e) { PaymentData pd = new PaymentData(); up_pay.DataSource = pd.GetPaymentList(); Init(); }
public void Init() { PaymentData pd = new PaymentData(); up_pay.DataSource = pd.GetPaymentList(); }