private void Form_Load(object sender, EventArgs e) { FrmAnaMenuBilgi frm = new FrmAnaMenuBilgi(); frm.MdiParent = this; frm.Show(); }
private void BackOffices_Load(object sender, EventArgs e) { FrmAnaMenuBilgi form = new FrmAnaMenuBilgi(); form.MdiParent = this; form.Show(); }
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); }
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) { } }
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); }