Пример #1
0
 private void laporanBukuToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (buku == null)
     {
         buku             = new L_buku();
         buku.MdiParent   = this;
         buku.FormClosed += new FormClosedEventHandler(L_buku_Closed);
         buku.Show();
     }
     else
     {
         buku.Activate();
     }
 }
Пример #2
0
 void L_buku_Closed(object sender, FormClosedEventArgs e)
 {
     buku = null;
 }