示例#1
0
        public YaziciFormu(HesapFormu hesapFormu, List<string[]> digerYazicilar, List<string[]> adisyonYazicilari = null)
        {
            InitializeComponent();

            this.hesapFormu = hesapFormu;
            this.digerYazicilar = digerYazicilar;
            this.adisyonYazicilari = adisyonYazicilari;

            this.Top = (Screen.PrimaryScreen.Bounds.Height - this.Height) / 2;
            this.Left = (Screen.PrimaryScreen.Bounds.Width - this.Width) / 2;
        }
示例#2
0
        public HesapDuzenleme(decimal[] eskiOdemeler, string masaAdi, string departmanAdi, HesapFormu hesapForm, string siparisiGirenKisi)
        {
            InitializeComponent();

            this.siparisiGirenKisi = siparisiGirenKisi;
            this.eskiOdemeler = eskiOdemeler;
            this.hesapForm = hesapForm;
            this.masaAdi = masaAdi;
            this.departmanAdi = departmanAdi;

            this.Top = (Screen.PrimaryScreen.Bounds.Height - this.Height) / 2;
            this.Left = (Screen.PrimaryScreen.Bounds.Width - this.Width) / 2;
        }
示例#3
0
 //ödeme kısmına geçiş butonu
 private void paymentButton_Click(object sender, EventArgs e)
 {
     if (listUrunFiyat.Items.Count > 0)
     {
         //ödendiğinde sql de ödendi flagini 1 yap
         hesapForm = new HesapFormu(this, listUrunFiyat, MasaAdi, hangiDepartman.departmanAdi, siparisiKimGirdi, iptalIkram, adisyonDegistirebilirMi, satisYapabilirMi);
         hesapForm.ShowDialog();
     }
 }