Exemplo n.º 1
0
 private void m_pembelian_Click(object sender, EventArgs e)
 {
     if (pb == null)
     {
         pb             = new Pembelian();
         pb.MdiParent   = this;
         pb.FormClosed += new FormClosedEventHandler(Pb_FormClosed);
         pb.Show();
     }
     else
     {
         pb.Activate();
     }
 }
Exemplo n.º 2
0
 private void Pb_FormClosed(object sender, FormClosedEventArgs e)
 {
     pb = null;
 }