Example #1
0
 private void btnMusteri_ItemClick(object sender, ItemClickEventArgs e)
 {
     btnMusteri.ButtonStyle = BarButtonStyle.Check;
     RibonPasif();
     if (pl == null)
     {
         pl             = new MusteriOlustur();
         pl.MdiParent   = this;
         pl.FormClosed += new FormClosedEventHandler(Pl_FormClosed);
         pl.Show();
     }
     else
     {
         pl.Activate();
     }
 }
Example #2
0
 private void Pl_FormClosed(object sender, FormClosedEventArgs e)
 {
     pl = null;
     RibonAktif();
     btnMusteri.ButtonStyle = BarButtonStyle.Default;
 }