-
Notifications
You must be signed in to change notification settings - Fork 0
/
musteriPanel.cs
87 lines (73 loc) · 2.33 KB
/
musteriPanel.cs
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
using Microsoft.Win32;
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;
using Microsoft.Win32;
using System.Data.SqlClient;
namespace Banka
{
public partial class musteriPanel : Form
{
public musteriPanel()
{
InitializeComponent();
}
private void musteriPanel_Load(object sender, EventArgs e)
{
string wallpaperPath = Registry.GetValue(@"HKEY_CURRENT_USER\Control Panel\Desktop", "WallPaper", null).ToString();
Image wallpaper = Image.FromFile(wallpaperPath);
this.BackgroundImage = wallpaper;
this.BackgroundImageLayout = ImageLayout.Stretch;
hosgeldiniz.Text = "Hoşgeldiniz sayın " + " " + Form1.adSoyad;
lblIBAN.Text = Form1.musteriID.ToString();
lblkullanici.Text = Form1.kullaniciAdi;
opacity(groupBox1, 128);
}
private void opacity(GroupBox groupBox, int opacity)
{
groupBox.BackColor = Color.FromArgb(opacity, groupBox.BackColor);
}
private void btnParaYatir_Click(object sender, EventArgs e)
{
paraYatir yatir = new paraYatir();
yatir.Show();
}
private void btnDeposit_Click(object sender, EventArgs e)
{
paraCek cek = new paraCek();
cek.Show();
}
private void btnBakiye_Click(object sender, EventArgs e)
{
bakiye bakiye = new bakiye();
bakiye.Show();
}
private void btnParaTransfer_Click(object sender, EventArgs e)
{
paraTransferi trasfer = new paraTransferi();
trasfer.Show();
}
private void btnSifre_Click(object sender, EventArgs e)
{
sifreDegistir sifre = new sifreDegistir();
sifre.Show();
}
private void btnCikis_Click(object sender, EventArgs e)
{
Form frm = new Form1();
frm.Show();
this.Close();
}
private void btnHesapHareket_Click(object sender, EventArgs e)
{
hesapHareketleri hareket = new hesapHareketleri();
hareket.Show();
}
}
}