ChrisCompleteCodeTrunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Action_Tire_Payment_Processor
{
public partial class ReplacementCardDialog : Form
{
public string CardNumber = "";
public ReplacementCardDialog()
{
InitializeComponent();
}
private void btnOK_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
}
private void btnCancel_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
}
private void tbCardNumber_TextChanged(object sender, EventArgs e)
{
try
{
int i = int.Parse(tbCardNumber.Text);
if (i > 0) btnOK.Enabled = true;
}
catch
{
btnOK.Enabled = false;
return;
}
CardNumber = tbCardNumber.Text;
}
}
}
|
Revision |
Author |
Commited |
Message |
1
|
BBDSCHRIS
|
Wed 22 Aug, 2018 20:08:03 +0000 |
|