Example #1
0
        private void OKButton_Click(object sender, System.EventArgs e)
        {
            PinPadSimulator Sim = ServiceObjectReference.Target as PinPadSimulator;

            if (Sim != null)
            {
                Sim.OnOK(PINtextBox.Text, AdditionalInfotextBox.Text);
            }
        }
Example #2
0
        private void BadKeybutton_Click(object sender, System.EventArgs e)
        {
            PinPadSimulator Sim = ServiceObjectReference.Target as PinPadSimulator;

            if (Sim != null)
            {
                Sim.OnBadKey();
            }
        }
Example #3
0
        private void SetButtonState()
        {
            PinPadSimulator Sim = ServiceObjectReference.Target as PinPadSimulator;

            if (Sim != null && Sim.State != ControlState.Closed)
            {
                OKButton.Enabled      = Sim.PinEntryEnabled;
                Cancelbutton.Enabled  = OKButton.Enabled;
                BadKeybutton.Enabled  = OKButton.Enabled;
                Timeoutbutton.Enabled = OKButton.Enabled;
            }
        }
Example #4
0
		public PinPadSimulatorWindow(PinPadSimulator serviceObject) : base(serviceObject)
		{
			Invoke(new MethodDelegate(InitializeComponent));
		}
Example #5
0
 public PinPadSimulatorWindow(PinPadSimulator serviceObject) : base(serviceObject)
 {
     Invoke(new MethodDelegate(InitializeComponent));
 }