Example #1
0
 public static bool Afiseaza(Form pEcranPariente)
 {
     using (FormCreareClient ecran = new FormCreareClient())
     {
         ecran.AplicaPreferinteleUtilizatorului();
         return(CCL.UI.IHMUtile.DeschideEcran(pEcranPariente, ecran));
     }
 }
Example #2
0
        private void BtnAdaugaClient_Click(object sender, EventArgs e)
        {
            if (this.lSeIncarca)
            {
                return;
            }
            try
            {
                incepeIncarcarea();

                if (FormCreareClient.Afiseaza(this.GetFormParinte()))
                {
                    ConstruiesteRanduriDGV();
                }
            }
            catch (Exception ex)
            {
                GestiuneErori.AfiseazaMesaj(this.GetFormParinte(), ex);
            }
            finally
            {
                finalizeazaIncarcarea();
            }
        }