Example #1
0
        private void müşteriBilgileriToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Yetki Sorgulama
            if (!(manager.YetkiSorgula("CARIKART", "GIRIS")))
            {
                MessageBox.Show("Yetkiniz Yok! (Uygulama: CARIKART - Yetki: GIRIS)", "Yetki", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            Manager.CariIdTasi = null;
            CariKart cariKart = new CariKart();

            Manager.CariIdTasi = null;
            cariKart.MdiParent = this;
            cariKart.Text      = "Cari Kart";
            cariKart.Show();
        }
Example #2
0
        private void btnCariDetyalar_Click(object sender, EventArgs e)
        {
            if (dgvCariListesi.Rows.Count == 0 || txtCariId.Text == "0")
            {
                MessageBox.Show("Cari Listesini Kullanınız!", "UYARI", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            //Yetki Sorgulama
            if (!(manager.YetkiSorgula("CARIKART", "GIRIS")))
            {
                MessageBox.Show("Yetkiniz Yok! (Uygulama: CARIKART - Yetki: GIRIS)", "Yetki", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            CariKart cariKart = new CariKart();

            Manager.CariIdTasi = txtCariId.Text.ToString();
            //Manager.NodId = txtCariGrubu.Text.ToString();
            cariKart.Text = "Cari Kart";
            cariKart.ShowDialog();
            cariEkrana();
        }