Ejemplo n.º 1
0
 private void Uipagebase_FormClosed(object sender, FormClosedEventArgs e)
 {
     try
     {
         LBUIPageBase Uipagebase = sender as LBUIPageBase;
         if (Uipagebase.RefTabPage != null)
         {
             if (this.tcMain.TabPages.Contains(Uipagebase.RefTabPage))
             {
                 Uipagebase.Dispose();
                 this.tcMain.TabPages.Remove(Uipagebase.RefTabPage);
             }
         }
     }
     catch (Exception ex)
     {
         LB.WinFunction.LBCommonHelper.DealWithErrorMessage(ex);
     }
 }