/// <summary> /// Handles the save and back button being pressed on a <see cref="Views.PayeeEdit"/> forms /// </summary> /// <param name="sender">The sender object</param> /// <param name="e">Event arguments</param> public static void EditSaveAndBack(object sender, EventArgs e) { var success = SaveEditPayee(); if (success) { PayeeEdit.Owner.Show(); PayeeEdit.Close(); } }
/// <summary> /// Handles the back button being pressed on a <see cref="Views.PayeeEdit"/> form /// </summary> /// <param name="sender">The sender object</param> /// <param name="e">Event arguments</param> public static void EditCancelClick(object sender, EventArgs e) { PayeeEdit.Owner.Show(); PayeeEdit.Close(); }