Ejemplo n.º 1
0
        public YaziciFormu(AdisyonGoruntuleme adisyonFormu, List<string[]> digerYazicilar, List<string[]> adisyonYazicilari = null)
        {
            InitializeComponent();

            this.adisyonFormu = adisyonFormu;
            this.digerYazicilar = digerYazicilar;
            this.adisyonYazicilari = adisyonYazicilari;

            this.Top = (Screen.PrimaryScreen.Bounds.Height - this.Height) / 2;
            this.Left = (Screen.PrimaryScreen.Bounds.Width - this.Width) / 2;
        }
Ejemplo n.º 2
0
        public HesapDuzenleme(decimal[] eskiOdemeler, string masaAdi, string departmanAdi, AdisyonGoruntuleme adisyonGoruntulemeForm, string siparisiGirenKisi, string gelenAdisyonID)
        {
            InitializeComponent();

            this.siparisiGirenKisi = siparisiGirenKisi;
            this.eskiOdemeler = eskiOdemeler;
            this.adisyonGoruntulemeForm = adisyonGoruntulemeForm;
            this.masaAdi = masaAdi;
            this.departmanAdi = departmanAdi;
            this.gelenAdisyonID = gelenAdisyonID;

            this.Top = (Screen.PrimaryScreen.Bounds.Height - this.Height) / 2;
            this.Left = (Screen.PrimaryScreen.Bounds.Width - this.Width) / 2;
        }
Ejemplo n.º 3
0
 private void adisyonCheckBox_Click(object sender, EventArgs e)
 {
     if (pinForm != null)
     {
         if (pinForm.Visible)
         {
             this.Invoke((MethodInvoker)delegate
             {
                 pinForm.Close();
             });
             pinForm = null;
         }
     }
     if(adisyonForm != null)
     {
         if (adisyonForm.IsDisposed)
         {
             adisyonForm = new AdisyonGoruntuleme(odemeyiDegistirenKisi, adisyonDegistirebilirMi);
             adisyonForm.Show();
         }
         else
         {
             adisyonForm.BringToFront();
         }
     }
     else
     {
         adisyonForm = new AdisyonGoruntuleme(odemeyiDegistirenKisi, adisyonDegistirebilirMi);
         adisyonForm.Show();
     }
 }