This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter_map/flutter_map.dart'; | |
import 'package:Myapp/View/Cantieri/mediterranesn_diet_view.dart' | |
show MediterranesnDietView; | |
import 'package:Myapp/View/Cantieri/title_view.dart' show TitleView; | |
import 'package:Myapp/View/Home_theme.dart'; | |
import 'package:Myapp/View/MarcaTempo/meals_list_view.dart' show MealsListView; | |
import 'package:flutter/material.dart'; | |
import 'package:latlong/latlong.dart'; | |
class MyDiaryScreen extends StatefulWidget { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void StampaPreventivoCompleto_Load(object sender, EventArgs e) | |
{ | |
lock (LockMonitor) | |
{ | |
if (ModalitaCalcoloUtile == "Unica percetuale") | |
{ | |
try | |
{ | |
Preventivi p = new Preventivi(int.Parse(IdPreventivo)); | |
string Query = "SELECT (select Firma from Utente where IdUtente='" + u.IdUtente + "') as Firma,(select FilialeCliente.Citta from Preventivo inner join FilialeCliente on FilialeCliente.IdFilialeCliente=Preventivo.IdFiliale where IdPreventivo='" + IdPreventivo + "') as Filiale,Preventivo.VostroRiferimento,Preventivo.Oggetto,Preventivo.PrezzoRiservato,Preventivo.IdPreventivo,Azienda.Logo as LogoAzienda,convert(VARCHAR(10),Preventivo.DataInserimento,105) as DataInserimento,Preventivo.RiferimentoInterno,Preventivo.Testata,Preventivo.Chiusura,Cliente.Titolo,Cliente.RagioneSociale,Cliente.Indirizzo,Cliente.Cap,Cliente.Citta,Cliente.Provincia FROM Preventivo inner |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CreazioneCantiereActivity extends AppCompatActivity { | |
private EditText txtNomeCantiere; | |
private String TipologiaCantiereSelezionato="Consuntivo"; | |
private Button btnCreaCantiere, btnSelezionacliente; | |
private ClienteController c; | |
private Spinner spinnerTipologie; | |
@Override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use DB; | |
use App\Quotation; | |
use Illuminate\Http\Request; | |
use Illuminate\Foundation\Bus\DispatchesJobs; | |
use Illuminate\Routing\Controller as BaseController; | |
use Illuminate\Foundation\Validation\ValidatesRequests; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//this is model | |
<?php | |
namespace App; | |
use Illuminate\Database\Eloquent\Model; | |
class Articolo extends Model | |
{ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Verifico che la sessione sia aperta, nel caso in cui sia chiusa la apro | |
if (session_status() == PHP_SESSION_NONE) { | |
session_start(); | |
} | |
if (isset($_POST['Name'])) { | |
$_POST['Name']="prova"; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//file .txt | |
2;44.8326;11.32 | |
3;44.805;11.3386 | |
//First Function | |
fs.readFile(tempfilename, function (err, data) { | |
if (err) { | |
ManageError.SendError("error: " + err); | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.SharedPreferences; | |
import android.os.Bundle; | |
import android.os.StrictMode; | |
import android.support.v7.app.AppCompatActivity; | |
import android.view.View; | |
import android.widget.Button; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void buttonCarica_Click(object sender, EventArgs e) | |
{ | |
if (comboBoxUtenti.Text != "") | |
{ | |
MapControlRisorse.MapProvider = GMapProviders.GoogleMap; | |
Utente utemp = new Utente(comboBoxUtenti.Text); | |
MarcaTempo tm = new MarcaTempo(utemp); | |
DataTable dt = tm.CaricaRisorsa(dateTimePickerDataRisorse.Value.Date); | |
if (dt.Rows.Count == 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//IMG: JVBERi0xLjMKJf////8KMSAwIG9iago8PCAvQ3JlYXRvciA8ZmVmZjAwNTAwMDcyMDA2MTAwNzcwMDZlPgo.... | |
//Java Code: | |
public class RapportiniActivity extends Fragment { | |
private View view; |