public FrPengeluaranAdd(int Id, int idJadwal) { InitializeComponent(); context = new POTJDataContext(DbConnection.GetConnection()); txtId.Text = Id.ToString(); txtIdJadwal.Text = idJadwal.ToString(); }
public FrPendapatanDatangAdd(int Id, int IdJadwal, string Kode) { InitializeComponent(); context = new POTJDataContext(DbConnection.GetConnection()); txtId.Text = Id.ToString(); txtIdJadwal.Text = IdJadwal.ToString(); txtKode.Text = Kode; }
public FrPrintReceipt(int Id) { InitializeComponent(); context = new POTJDataContext(DbConnection.GetConnection()); _Id = Id; var query = from a in context.TRX_HISTORI_TRANSAKSIs join b in context.TRX_PENJUALANs on a.ID_PENJUALAN equals b.ID_PENJUALAN join c in context.ADM_JADWALs on b.ID_JADWAL equals c.ID_JADWAL where a.ID_TRANSAKSI == _Id select new {c.CARTER}; foreach (var a in query) { Carter = Convert.ToBoolean(a.CARTER); } }
public FrKendaraan(int Id) { InitializeComponent(); context = new POTJDataContext(DbConnection.GetConnection()); txtId.Text = Id.ToString(); }
public FrLogin() { InitializeComponent(); context = new POTJDataContext(DbConnection.GetConnection()); }
public FrTrx() { InitializeComponent(); context = new POTJDataContext(DbConnection.GetConnection()); IsFirstTime = true; }
public FrPembatalanAdd(int Id) { InitializeComponent(); context = new POTJDataContext(DbConnection.GetConnection()); txtId.Text = Id.ToString(); }