using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace POSV { public partial class CreditCardAuthorization : UserControl { public VisibleEventHandler visibleEventHandler = null; public CreditCardAuthorization() { InitializeComponent(); } private void touchButtonX2_Click(object sender, EventArgs e) { this.Visible = false; if (visibleEventHandler != null) { visibleEventHandler(null); } } } public delegate void VisibleEventHandler(object sender); }