private void mnuReturnBook_Click(object sender, EventArgs e) { frmReturn frmNext = new frmReturn(this); this.Hide(); frmNext.Show(); }
private void btnSave_Click(object sender, EventArgs e) { /* assign payment date * * if payment status = owe, assign date time = empty string * else if payment status = paid, assign date time = system date * * */ //display confirmation message MessageBox.Show("Details Saved!", "Confirmation", MessageBoxButtons.OK, MessageBoxIcon.Information); //save fine details in Fine File //back to UI this.Close(); parent.Show(); }