private void btnPersonelIslemleri_Click(object sender, EventArgs e) { this.pbSeciliSayfa.Location = new Point( 176, this.btnPersonelIslemleri.Location.Y); FormPersonelIslemleri frm = new FormPersonelIslemleri(); FormAcikmi(frm); }
private void btnPersonelIslemleri_Click(object sender, EventArgs e) { if (!Genel.PersonelUnvan.Contains("Doktor")) { this.pbSeciliSayfa.Location = new Point( 176, this.btnPersonelIslemleri.Location.Y); var frm = new FormPersonelIslemleri(); FormAcikmi(frm); } else { MessageBox.Show("Bu Sayfayı Görüntülemek İçin Yetkiniz Bulunmamaktadır!", "Dikkat!", MessageBoxButtons.OK, MessageBoxIcon.Information); } }