Stampa delle tabelle formato con form
git-svn-id: svn://10.65.10.50/trunk@4622 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									4f507b2ac1
								
							
						
					
					
						commit
						0244542f38
					
				@ -69,6 +69,12 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
bool TApp_rebuildbalances::create()
 | 
					bool TApp_rebuildbalances::create()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
						used_files= new TArray;
 | 
				
			||||||
 | 
						used_files->add(new TLocalisamfile(LF_ANAMAG));
 | 
				
			||||||
 | 
						used_files->add(new TLocalisamfile(LF_UMART));
 | 
				
			||||||
 | 
						used_files->add(new TLocalisamfile(LF_MAG));
 | 
				
			||||||
 | 
						used_files->add(new TLocalisamfile(LF_MOVMAG));
 | 
				
			||||||
 | 
						used_files->add(new TLocalisamfile(LF_RMOVMAG));
 | 
				
			||||||
	TApplication::create();
 | 
						TApplication::create();
 | 
				
			||||||
	/*if (argc()>2)
 | 
						/*if (argc()>2)
 | 
				
			||||||
		_annoes=argv(2);
 | 
							_annoes=argv(2);
 | 
				
			||||||
@ -78,18 +84,17 @@ bool TApp_rebuildbalances::create()
 | 
				
			|||||||
		_reset_giac=(TString(argv(3)).upper()=="RESET");*/
 | 
							_reset_giac=(TString(argv(3)).upper()=="RESET");*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	TMask_buildmov m;
 | 
						TMask_buildmov m;
 | 
				
			||||||
	if (m.run()==K_ENTER)
 | 
						while (m.run()==K_ENTER)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		
 | 
					 | 
				
			||||||
		if (!rebuild_balances(m.get(F_ANNOES), TRUE))
 | 
							if (!rebuild_balances(m.get(F_ANNOES), TRUE))
 | 
				
			||||||
			error_box("Ricostruzione saldi incompleta o errata. Ripetere");
 | 
								error_box("Ricostruzione saldi incompleta o errata. Ripetere");
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
  return TRUE;
 | 
					  return FALSE;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bool TApp_rebuildbalances::destroy()
 | 
					bool TApp_rebuildbalances::destroy()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  
 | 
						delete used_files;  
 | 
				
			||||||
	TApplication::destroy();
 | 
						TApplication::destroy();
 | 
				
			||||||
  return TRUE;
 | 
					  return TRUE;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -100,7 +105,4 @@ int mg1200(int argc, char* argv[])
 | 
				
			|||||||
  
 | 
					  
 | 
				
			||||||
  a.run(argc, argv, "Ricostruzione saldi");
 | 
					  a.run(argc, argv, "Ricostruzione saldi");
 | 
				
			||||||
  return 0;
 | 
					  return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user