Exemple #1
0
        private void btnDonusIletisimSekli_Click(object sender, EventArgs e)
        {
            //Yetki Sorgulama
            if (!(manager.YetkiSorgula("PARAMETREAGACI", "GIRIS")))
            {
                MessageBox.Show("Yetkiniz Yok! (Uygulama: PARAMETREAGACI - Yetki: GIRIS)", "Yetki", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }

            ParametreAgaci parametreAgaci = new ParametreAgaci();

            //parametreAgaci.MdiParent = this;
            if (txtGeriDonusIletisimTuruId.Text.ToString() == "0")
            {
                Manager.NodTasi = 109;
            }
            else
            {
                Manager.NodTasi = txtGeriDonusIletisimTuruId.Text.ToString();
            }

            parametreAgaci.Text = "Parametre Ağacı";
            parametreAgaci.ShowDialog();

            if (Manager.NodTasi != null)
            {
                //lblCariGrubu.Text = Manager.NodTasi.ToString();
                //lblDonusTuru.Text = manager.parametreTreeYolBul(Manager.NodId.ToString());
                txtGeriDonusIletisimTuruId.Text = Manager.NodId.ToString();
                txtDonusTuru.Text = manager.parametreTreeYolBul(Manager.NodId.ToString());
            }
        }
Exemple #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            //Yetki Sorgulama
            if (!(manager.YetkiSorgula("PARAMETREAGACI", "GIRIS")))
            {
                MessageBox.Show("Yetkiniz Yok! (Uygulama: PARAMETREAGACI - Yetki: GIRIS)", "Yetki", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            ParametreAgaci parametreAgaci = new ParametreAgaci();

            //parametreAgaci.MdiParent = this;
            Manager.NodTasi     = txtId.Text;
            parametreAgaci.Text = "Parametre Ağacı";
            parametreAgaci.ShowDialog();
            //MessageBox.Show(Manager.NodTasi.ToString());
            nodeBul(Manager.NodTasi.ToString());
        }
Exemple #3
0
        private void btnCariGrubuBul_Click(object sender, EventArgs e)
        {
            //Yetki Sorgulama
            if (!(manager.YetkiSorgula("PARAMETREAGACI", "GIRIS")))
            {
                MessageBox.Show("Yetkiniz Yok! (Uygulama: PARAMETREAGACI - Yetki: GIRIS)", "Yetki", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }

            ParametreAgaci parametreAgaci = new ParametreAgaci();

            //parametreAgaci.MdiParent = this;
            if (txtCariGrubu.Text.ToString() == "0")
            {
                Manager.NodTasi = 8;
            }
            else
            {
                Manager.NodTasi = txtCariGrubu.Text.ToString();
            }

            parametreAgaci.Text = "Parametre Ağacı";
            parametreAgaci.ShowDialog();

            if (Manager.NodTasi != null)
            {
                //lblCariGrubu.Text = Manager.NodTasi.ToString();
                lblCariGrubu.Text = manager.parametreTreeYolBul(Manager.NodId.ToString());
                lblCariGrubu.Refresh();
                txtCariGrubu.Text = Manager.NodId.ToString();
            }


            ////MessageBox.Show(Manager.NodTasi.ToString());

            //string yol = manager.parametreTreeYolBul(txtCariGrubu.Text.ToString());
            //if (yol != null)
            //{
            //    lblCariGrubu.Text = yol;
            //}
            //else
            //{
            //    MessageBox.Show("Aranan Değer Bulunamadı!");
            //}
        }