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