private void ButtonClick(object sender, EventArgs e)
        {
            if (cbDizayn.Checked)
            {
                return;
            }

            if (((SimpleButton)sender).Tag != null)
            {
                string satisid = ((SimpleButton)sender).AccessibleName;
                string masaadi = ((SimpleButton)sender).Text;
                //((SimpleButton)sender).Enabled = false;
                frmSatis Satis = new frmSatis(0, int.Parse(satisid), masaadi, "0");
                Satis.gbBaslik.Tag = ((SimpleButton)sender).Tag;
                Satis.gbBaslik.AccessibleDescription = ((SimpleButton)sender).AccessibleDescription;
                Satis.gbBaslik.AccessibleName        = ((SimpleButton)sender).AccessibleName;
                Satis.txtpkSatislar.Text             = ((SimpleButton)sender).AccessibleName;
                Satis.Satis1Toplam.Tag = ((SimpleButton)sender).AccessibleName;
                Satis.ShowDialog();

                if (Satis.txtpkSatislar.Text == "0")
                {
                    ((SimpleButton)sender).ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;

                    //((SimpleButton)sender).Tag = ((SimpleButton)sender).Tag.ToString();
                    //((SimpleButton)sender).Text = "1.Masa Aç";
                    ((SimpleButton)sender).AccessibleName = "0";
                    ((SimpleButton)sender).ToolTip        = "Fiş No = 0";
                }
                else
                {
                    //((SimpleButton)sender).Text = "1.Masa Açık";
                    ((SimpleButton)sender).ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
                    //satış ekranında kaydetin altına konuldu
                    //DB.ExecuteSQL("update Masalar set fkSatislar=" + Satis.txtpkSatislar.Text + " where pkMasalar=" + ((SimpleButton)sender).Tag.ToString());
                    ((SimpleButton)sender).AccessibleName = Satis.txtpkSatislar.Text;
                    ((SimpleButton)sender).ToolTip        = "Fiş No =" + Satis.txtpkSatislar.Text;
                }
                DB.ExecuteSQL("update Masalar set fkSatislar=" + Satis.txtpkSatislar.Text + " where pkMasalar=" + ((SimpleButton)sender).Tag.ToString());

                ((SimpleButton)sender).Focus();
                Satis.Dispose();

                //((SimpleButton)sender).Enabled = true;
                //MessageBox.Show(((SimpleButton)sender).Tag.ToString());
                //SatisDetayEkle(((SimpleButton)sender).Tag.ToString());
                //yesilisikyeni();

                //KONTROL
                //DB.GetData();
            }
        }
        private void satışToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSatis frm = new frmSatis();

            frm.ShowDialog();
        }