コード例 #1
0
        private void laporanToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (laporan == null)
            {
                laporan = new Form_Laporan();

                laporan.FormClosed += new FormClosedEventHandler(formlaporan);
                laporan.Show();
            }
            else
            {
                penerimaan.Activate();
            }
        }
コード例 #2
0
 void formlaporan(Object sender, FormClosedEventArgs e)
 {
     laporan = null;
 }