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