public cardcheck() { InitializeComponent(); DataUsing start = new DataUsing(); cardpincode.Hide(); label2.Hide(); button2.Hide(); }
private void Button1_Click(object sender, EventArgs e) { if (atmpin.Text == DataBank.atmpincode) { DataUsing start = new DataUsing(); textBox1.Text = Convert.ToString(DataBank.atmbalance); label2.Show(); newpin.Show(); pinenter.Show(); cashload1.Show(); cashenter.Show(); label3.Show(); textBox1.Show(); label4.Show(); } }