private void btnSetPaymentDetails_Click(object sender, EventArgs e) { if (scheduleVM.ScheduleStatusID == 1) { MessageBox.Show("Termin mora biti završen da bi mogli postaviti uplatu!", "Upozorenje", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } frmSetPayment frm = new frmSetPayment(_scheduleID); frm.Show(); }
private void btnShowPaymentDetails_Click(object sender, EventArgs e) { frmSetPayment frm = new frmSetPayment(_scheduleID); frm.Show(); }