private void barBtnCikis_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { this.Hide(); StokTakip stokTakip = new StokTakip(); stokTakip.Show(); }
private void btnGirisYap_Click(object sender, EventArgs e) { try { if (_yoneticiService.GirisYonetici(Convert.ToInt32(tbxYoneticiId.Text), Convert.ToInt32(tbxYoneticiSifre.Text)) != null) { MessageBox.Show("Giriş Başarılı"); StokTakip stokTakip = new StokTakip(); stokTakip.Show(); this.Hide(); } } catch { MessageBox.Show("Giriş Başarısız"); } }