fixed vc# tree

This commit is contained in:
hello 2025-02-10 13:18:49 +05:30
parent 220f57808c
commit 1cc7f5f085
113 changed files with 323 additions and 0 deletions

View file

@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Banker
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void label2_Click(object sender, EventArgs e)
{
label2.Text = "Your password will be kept secure";
}
private void button1_Click(object sender, EventArgs e)
{
string username = textBox1.Text;
string password = textBox2.Text;
decimal initialBalance = 1000000;
Customer customer = new Customer(username, password, initialBalance);
Form2 f2 = new Form2(customer);
f2.Show();
this.Hide();
}
private void label3_Click(object sender, EventArgs e)
{
}
}
}