コード例 #1
0
ファイル: YaziciFormu.cs プロジェクト: sezertt/ROPv1
        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
ファイル: HesapDuzenleme.cs プロジェクト: sezertt/ROPv1
        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
ファイル: SiparisMenuFormu.cs プロジェクト: sezertt/ROPv1
 //ö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();
     }
 }