示例#1
0
 private void LinkFactura_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     LinkFactura.LinkColor = Color.DarkBlue;
     if (f == null)
     {
         f           = new Facturacion();
         f.MdiParent = this;
         this.splitPrincipal.Panel2.Controls.Add(f);
         f.FormClosed += new FormClosedEventHandler(f_FormClosed);
         f.Show();
     }
     else
     {
         f.Activate();
     }
 }
示例#2
0
 private void f_FormClosed(object sender, FormClosedEventArgs e)
 {
     f = null;
     LinkFactura.LinkColor = Color.White;
 }