Esempio n. 1
0
        private void lviMasalar_DoubleClick(object sender, EventArgs e)
        {
            masaAdi = lviMasalar.SelectedItems[0].SubItems[0].Text;
            frmMasaDetay f = new frmMasaDetay();

            f.Show();
        }
Esempio n. 2
0
        private void btnEkle_Click(object sender, EventArgs e)
        {
            ESiparisler s = new ESiparisler();

            s.ProductName = cmbUrun.Text;
            s.Quantity    = Convert.ToInt32(numMiktar.Value);
            string cevap = BLLSiparisler.Ekle(Form1.masaAdi, s);

            MessageBox.Show(cevap);
            frmMasaDetay fmd = Application.OpenForms["frmMasaDetay"] as frmMasaDetay;

            fmd.Doldur();
            Form1 f1 = Application.OpenForms["Form1"] as Form1;

            f1.Doldur();
        }