// Sinema Salonu Projesi | www.yazilimcik.com
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;
// Sinema Salonu Projesi | www.yazilimcik.com
namespace Sinema_Salonu_Projesi_CSharp_Yazilimcik_Com
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
int i, j = 18;
private void Form1_Load(object sender, EventArgs e)
{
this.button1.BackColor = System.Drawing.Color.Green;
this.button2.BackColor = System.Drawing.Color.Green;
this.button3.BackColor = System.Drawing.Color.Green;
this.button4.BackColor = System.Drawing.Color.Green;
this.button5.BackColor = System.Drawing.Color.Green;
this.button6.BackColor = System.Drawing.Color.Green;
this.button7.BackColor = System.Drawing.Color.Green;
this.button8.BackColor = System.Drawing.Color.Green;
this.button9.BackColor = System.Drawing.Color.Green;
this.button10.BackColor = System.Drawing.Color.Green;
this.button11.BackColor = System.Drawing.Color.Green;
this.button12.BackColor = System.Drawing.Color.Green;
this.button13.BackColor = System.Drawing.Color.Green;
this.button14.BackColor = System.Drawing.Color.Green;
this.button15.BackColor = System.Drawing.Color.Green;
this.button16.BackColor = System.Drawing.Color.Green;
this.button17.BackColor = System.Drawing.Color.Green;
this.button18.BackColor = System.Drawing.Color.Green;
txtAd.Focus();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button1.Text = txtAd.Text + " " + txtSoyad.Text;
this.button1.BackColor = System.Drawing.Color.Red;
button1.Enabled = false;
this.button1.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button2_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button2.Text = txtAd.Text + " " + txtSoyad.Text;
this.button2.BackColor = System.Drawing.Color.Red;
button2.Enabled = false;
this.button2.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button3_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button3.Text = txtAd.Text + " " + txtSoyad.Text;
this.button3.BackColor = System.Drawing.Color.Red;
button3.Enabled = false;
this.button3.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button4_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button4.Text = txtAd.Text + " " + txtSoyad.Text;
this.button4.BackColor = System.Drawing.Color.Red;
button4.Enabled = false;
this.button4.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button5_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button5.Text = txtAd.Text + " " + txtSoyad.Text;
this.button5.BackColor = System.Drawing.Color.Red;
button5.Enabled = false;
this.button5.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button7_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button7.Text = txtAd.Text + " " + txtSoyad.Text;
this.button7.BackColor = System.Drawing.Color.Red;
button7.Enabled = false;
this.button7.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button8_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button8.Text = txtAd.Text + " " + txtSoyad.Text;
this.button8.BackColor = System.Drawing.Color.Red;
button8.Enabled = false;
this.button8.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button9_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button9.Text = txtAd.Text + " " + txtSoyad.Text;
this.button9.BackColor = System.Drawing.Color.Red;
button9.Enabled = false;
this.button9.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button10_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button10.Text = txtAd.Text + " " + txtSoyad.Text;
this.button10.BackColor = System.Drawing.Color.Red;
button10.Enabled = false;
this.button10.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button12_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button12.Text = txtAd.Text + " " + txtSoyad.Text;
this.button12.BackColor = System.Drawing.Color.Red;
button12.Enabled = false;
this.button12.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button13_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button13.Text = txtAd.Text + " " + txtSoyad.Text;
this.button13.BackColor = System.Drawing.Color.Red;
button13.Enabled = false;
this.button13.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button14_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button14.Text = txtAd.Text + " " + txtSoyad.Text;
this.button14.BackColor = System.Drawing.Color.Red;
button14.Enabled = false;
this.button14.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button15_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button15.Text = txtAd.Text + " " + txtSoyad.Text;
this.button15.BackColor = System.Drawing.Color.Red;
button15.Enabled = false;
this.button15.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button17_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button17.Text = txtAd.Text + " " + txtSoyad.Text;
this.button17.BackColor = System.Drawing.Color.Red;
button17.Enabled = false;
this.button17.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button6_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button6.Text = txtAd.Text + " " + txtSoyad.Text;
this.button6.BackColor = System.Drawing.Color.Red;
button6.Enabled = false;
this.button6.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button11_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button11.Text = txtAd.Text + " " + txtSoyad.Text;
this.button11.BackColor = System.Drawing.Color.Red;
button11.Enabled = false;
this.button11.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button16_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button16.Text = txtAd.Text + " " + txtSoyad.Text;
this.button16.BackColor = System.Drawing.Color.Red;
button16.Enabled = false;
this.button16.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void button18_Click(object sender, EventArgs e)
{
try
{
if (button1.Text != txtAd.Text + " " + txtSoyad.Text && button2.Text != txtAd.Text + " " + txtSoyad.Text && button3.Text != txtAd.Text + " " + txtSoyad.Text && button4.Text != txtAd.Text + " " + txtSoyad.Text && button5.Text != txtAd.Text + " " + txtSoyad.Text && button6.Text != txtAd.Text + " " + txtSoyad.Text && button7.Text != txtAd.Text + " " + txtSoyad.Text && button8.Text != txtAd.Text + " " + txtSoyad.Text && button9.Text != txtAd.Text + " " + txtSoyad.Text && button10.Text != txtAd.Text + " " + txtSoyad.Text && button11.Text != txtAd.Text + " " + txtSoyad.Text && button12.Text != txtAd.Text + " " + txtSoyad.Text && button13.Text != txtAd.Text + " " + txtSoyad.Text && button14.Text != txtAd.Text + " " + txtSoyad.Text && button15.Text != txtAd.Text + " " + txtSoyad.Text && button16.Text != txtAd.Text + " " + txtSoyad.Text && button17.Text != txtAd.Text + " " + txtSoyad.Text && button18.Text != txtAd.Text + " " + txtSoyad.Text)
{
if (txtAd.Text != "" && txtSoyad.Text != "")
{
button18.Text = txtAd.Text + " " + txtSoyad.Text;
this.button18.BackColor = System.Drawing.Color.Red;
button18.Enabled = false;
this.button18.ForeColor = Color.White;
txtAd.Text = "";
txtSoyad.Text = "";
i++;
j--;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Text = string.Empty;
txtAd.Focus();
}
else
{
MessageBox.Show("Lütfen ’Adi’ ve ’Soyadi’ Alanlarini Doldurun..!", "Uyari");
txtAd.Focus();
}
}
else
{
MessageBox.Show("Bu Isimde Kayit Zaten Var..!", "Uyari");
txtAd.Focus();
}
}
catch (Exception)
{ }
}
private void btnIptal_Click(object sender, EventArgs e)
{
try
{
if (txtIptal.Text != "" || txtIptal.Text != null || txtIptal.Text != string.Empty)
{
if (txtIptal.Text != string.Empty && txtIptal.Text == button1.Text)
{
button1.Text = "";
this.button1.BackColor = System.Drawing.Color.Green;
button1.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button2.Text)
{
button2.Text = "";
this.button2.BackColor = System.Drawing.Color.Green;
button2.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button3.Text)
{
button3.Text = "";
this.button3.BackColor = System.Drawing.Color.Green;
button3.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button4.Text)
{
button4.Text = "";
this.button4.BackColor = System.Drawing.Color.Green;
button4.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button5.Text)
{
button5.Text = "";
this.button5.BackColor = System.Drawing.Color.Green;
button5.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button6.Text)
{
button6.Text = "";
this.button6.BackColor = System.Drawing.Color.Green;
button6.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button7.Text)
{
button7.Text = "";
this.button7.BackColor = System.Drawing.Color.Green;
button7.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button8.Text)
{
button8.Text = "";
this.button8.BackColor = System.Drawing.Color.Green;
button8.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button9.Text)
{
button9.Text = "";
this.button9.BackColor = System.Drawing.Color.Green;
button9.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button10.Text)
{
button10.Text = "";
this.button10.BackColor = System.Drawing.Color.Green;
button10.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button11.Text)
{
button11.Text = "";
this.button11.BackColor = System.Drawing.Color.Green;
button11.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button12.Text)
{
button12.Text = "";
this.button12.BackColor = System.Drawing.Color.Green;
button12.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button13.Text)
{
button13.Text = "";
this.button13.BackColor = System.Drawing.Color.Green;
button13.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button14.Text)
{
button14.Text = "";
this.button14.BackColor = System.Drawing.Color.Green;
button14.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button15.Text)
{
button15.Text = "";
this.button15.BackColor = System.Drawing.Color.Green;
button15.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button16.Text)
{
button16.Text = "";
this.button16.BackColor = System.Drawing.Color.Green;
button16.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button17.Text)
{
button17.Text = "";
this.button17.BackColor = System.Drawing.Color.Green;
button17.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
if (txtIptal.Text != string.Empty && txtIptal.Text == button18.Text)
{
button18.Text = "";
this.button18.BackColor = System.Drawing.Color.Green;
button18.Enabled = true;
i--;
j++;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtIptal.Text = string.Empty;
txtIptal.Focus();
}
else
{ txtIptal.Focus(); }
}
else
{ }
}
catch (Exception)
{ }
}
private void btnReset_Click(object sender, EventArgs e)
{
DialogResult cevap;
cevap = MessageBox.Show("Tüm Rezervasyonlar Iptal Edilecek\nEmin misiniz..?", "www.yazilimcik.com", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
if (cevap == DialogResult.Yes)
{
i = 0;
j = 18;
this.button1.BackColor = System.Drawing.Color.Green;
this.button2.BackColor = System.Drawing.Color.Green;
this.button3.BackColor = System.Drawing.Color.Green;
this.button4.BackColor = System.Drawing.Color.Green;
this.button5.BackColor = System.Drawing.Color.Green;
this.button6.BackColor = System.Drawing.Color.Green;
this.button7.BackColor = System.Drawing.Color.Green;
this.button8.BackColor = System.Drawing.Color.Green;
this.button9.BackColor = System.Drawing.Color.Green;
this.button10.BackColor = System.Drawing.Color.Green;
this.button11.BackColor = System.Drawing.Color.Green;
this.button12.BackColor = System.Drawing.Color.Green;
this.button13.BackColor = System.Drawing.Color.Green;
this.button14.BackColor = System.Drawing.Color.Green;
this.button15.BackColor = System.Drawing.Color.Green;
this.button16.BackColor = System.Drawing.Color.Green;
this.button17.BackColor = System.Drawing.Color.Green;
this.button18.BackColor = System.Drawing.Color.Green;
txtAd.Text = string.Empty;
txtSoyad.Text = string.Empty;
txtIptal.Text = string.Empty;
button1.Text = "";
button2.Text = "";
button3.Text = "";
button4.Text = "";
button5.Text = "";
button6.Text = "";
button7.Text = "";
button8.Text = "";
button9.Text = "";
button10.Text = "";
button11.Text = "";
button12.Text = "";
button13.Text = "";
button14.Text = "";
button15.Text = "";
button16.Text = "";
button17.Text = "";
button18.Text = "";
button1.Enabled = true;
button2.Enabled = true;
button3.Enabled = true;
button4.Enabled = true;
button5.Enabled = true;
button6.Enabled = true;
button7.Enabled = true;
button8.Enabled = true;
button9.Enabled = true;
button10.Enabled = true;
button11.Enabled = true;
button12.Enabled = true;
button13.Enabled = true;
button14.Enabled = true;
button15.Enabled = true;
button16.Enabled = true;
button17.Enabled = true;
button18.Enabled = true;
lblDolu.Text = "Dolu: " + i.ToString();
lblBos.Text = "Bos: " + j.ToString();
txtAd.Focus();
}
else
{
txtAd.Text = string.Empty;
txtAd.Focus();
}
}
private void btnSahne_MouseHover(object sender, EventArgs e)
{
btnSahne.BackColor = Color.DeepSkyBlue;
btnSahne.ForeColor = Color.Navy;
}
private void btnSahne_MouseLeave(object sender, EventArgs e)
{
btnSahne.BackColor = Color.Gray;
btnSahne.ForeColor = Color.Navy;
}
}
}
// Sinema Salonu Projesi | www.yazilimcik.com