Example #1
0
 private void btnPagamenti_Click(object sender, EventArgs e)
 {
     try
     {
         bool saved = Save();
         if (saved)
         {
             var obj   = (FornitoreDto)Model;
             var space = new Pagamento.PagamentoView(obj);
             space.Title = "PAGAMENTI | FORNITORE " + BusinessLogic.Fornitore.GetCodifica(obj);
             Workspace.AddSpace(space);
         }
     }
     catch (Exception ex)
     {
         UtilityError.Write(ex);
     }
 }
Example #2
0
        private void btnPagamenti_Click(object sender, EventArgs e)
        {
            try
            {
                bool saved = Save();
                if (saved)
                {
                    var obj = (FornitoreDto)Model;
                    var space = new Pagamento.PagamentoView(obj);
                    space.Title = "PAGAMENTI | FORNITORE " + BusinessLogic.Fornitore.GetCodifica(obj);
                    Workspace.AddSpace(space);

                }
            }
            catch (Exception ex)
            {
                UtilityError.Write(ex);
            }
        }