Example #1
0
 private void laporanPenjualanToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (laporan == null)
     {
         laporan laporan = new laporan();
         laporan.MdiParent   = this;
         laporan.FormClosed += new FormClosedEventHandler(Laporan_FormClosed);
         laporan.Show();
     }
     else
     {
         laporan.Activate();
     }
 }
Example #2
0
 private void Laporan_FormClosed(object sender, FormClosedEventArgs e)
 {
     laporan = null;
 }