Beispiel #1
0
 private void btnRaporİslem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     FormKapatma();
     if (Login.yetki == -1)
     {
         XtraMessageBox.Show("Öncelikle Giriş Yapmanız Gerekmektedir", "Hata", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
     else
     {
         if (frmRaporIslem == null)
         {
             frmRaporIslem             = new frmRaporIslem();
             frmRaporIslem.MdiParent   = this;
             frmRaporIslem.FormClosed += frmRaporIslemClosed;
             frmRaporIslem.Show();
         }
         else
         {
             frmRaporIslem.Show();
         }
     }
 }
Beispiel #2
0
 private void frmRaporIslemClosed(object sender, FormClosedEventArgs e)
 {
     frmRaporIslem = null;
 }