예제 #1
0
        private void Form_Load(object sender, EventArgs e)
        {
            FrmAnaMenuBilgi frm = new FrmAnaMenuBilgi();

            frm.MdiParent = this;
            frm.Show();
        }
예제 #2
0
        private void BackOffices_Load(object sender, EventArgs e)
        {
            FrmAnaMenuBilgi form = new FrmAnaMenuBilgi();

            form.MdiParent = this;
            form.Show();
        }
예제 #3
0
        private void RibbonForm1_Load(object sender, EventArgs e)
        {
            FrmAnaMenuBilgi form = new FrmAnaMenuBilgi();

            form.MdiParent = this;
            form.Show();
            //FaysConceptContext context = new FaysConceptContext();
            //CariDAL cariDal = new CariDAL();
            //Cari entity = new Cari
            //{
            //   // CariKodu = "123456789",
            //   //// CariAdi = "Sercan Hoşgören",
            //   //// Yetkili = "Sercan",
            //   // FaturaUnvani = "HOSGOREN"
            //};
            //cariDal.AddOrUpdate(context, entity);
            //cariDal.Save(context);
        }
예제 #4
0
        private void FrmAnaMenu_Load(object sender, EventArgs e)
        {
            if (frmAnaMenuBilgi == null || frmAnaMenuBilgi.IsDisposed)
            {
                frmAnaMenuBilgi           = new FrmAnaMenuBilgi();
                frmAnaMenuBilgi.MdiParent = this;
                frmAnaMenuBilgi.Show();
            }

            RoleTool.RolleriYukle(ribbonControlAnaMenu);
            try
            {
                barKullaniciAdi.Caption = $"Giriş Yapan Kullanıcı : {RoleTool.kullaniciEntity.KullaniciAdi + " > ID : " + RoleTool.kullaniciEntity.KullaniciID}";
            }
            catch (Exception)
            {
            }
        }
예제 #5
0
        private void RibbonForm1_Load(object sender, EventArgs e)
        {
            FrmAnaMenuBilgi form = new FrmAnaMenuBilgi();

            form.MdiParent = this;
            form.Show();


            RoleTool.RolleriYukle(ribbon);
            barKullaniciAdi.Caption = $"Giriş Yapan Kullanıcı :  {RoleTool.KullaniciEntity.KullaniciAdi}";

            //FaysConceptContext context = new FaysConceptContext();
            //CariDAL cariDal = new CariDAL();
            //Cari entity = new Cari
            //{
            //   // CariKodu = "123456789",
            //   //// CariAdi = "Sercan Hoşgören",
            //   //// Yetkili = "Sercan",
            //   // FaturaUnvani = "HOSGOREN"
            //};
            //cariDal.AddOrUpdate(context, entity);
            //cariDal.Save(context);
        }