SlideShare a Scribd company logo
1 of 19
Download to read offline
TUGAS AKHIR PRAKTIKUM SP
MEMBUAT MENUSTRIP DAN FORM
“RENTAL CD”
PEMROGRAMAN VISUAL 1
KELOMPOK 3
DISUSUN OLEH :
MELINA KRISNAWATI
12.12.0328
SI 12 F
JURUSAN SISTEM INFORMASI
SEKOLAH TINGGI MANAJEMEN INFORMATIKA DAN KOMPUTER
AMIKOM PURWOKERTO
PURWOKERTO
2014
LISTING PROGRAM DAN HASIL RUNNING (OUTPUT PROGRAM)
1. CODE PROGRAM (LISTING PROGRAM)
1.1 CODE PROGRAM FORM 1 / MENU UTAMA
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Rentalcd
{
public partial class frmutama : Form
{
public frmutama()
{
InitializeComponent();
}
private void frmutama_Load(object sender, EventArgs e)
{
}
private void formJenisCDToolStripMenuItem_Click(object sender, EventArgs e)
{
FormJenis frjenis = new FormJenis();
frjenis.MdiParent = this;
frjenis.Show();
frjenis.Focus();
}
private void formNamaCDToolStripMenuItem_Click(object sender, EventArgs e)
{
FormNamaCD frnama = new FormNamaCD();
frnama.MdiParent = this;
frnama.Show();
frnama.Focus();
}
private void formToolStripMenuItem_Click(object sender, EventArgs e)
{
FormMember frnama = new FormMember();
frnama.MdiParent = this;
frnama.Show();
frnama.Focus();
}
private void formDataPeminjamanToolStripMenuItem_Click(object sender,
EventArgs e)
{
FormDataPeminjaman frnama = new FormDataPeminjaman();
frnama.MdiParent = this;
frnama.Show();
frnama.Focus();
}
private void formDataPengembalianToolStripMenuItem_Click(object sender,
EventArgs e)
{
FormDataPengembalian frnama = new FormDataPengembalian();
frnama.MdiParent = this;
frnama.Show();
frnama.Focus();
}
private void keluarToolStripMenuItem_Click(object sender, EventArgs e)
{
Application.Exit();
}
}
}
1.2 CODE PROGRAM FORM JENIS CD
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Rentalcd
{
public partial class FormJenis : Form
{
public FormJenis()
{
InitializeComponent();
}
private void btnSimpan_Click(object sender, EventArgs e)
{
if (cmbKodeJenis.Text == "")
{
errorProvider1.SetError(cmbKodeJenis, "Isi Kode Jenis CD !");
}
if (txtnamajenis.Text == "")
{
errorProvider1.SetError(txtnamajenis, "Isikan Nama Jenis CD");
}
else
{
string[] baris = { cmbKodeJenis.Text, txtnamajenis.Text};
dataGridView1.Rows.Add(baris);
dataGridView1.AutoResizeColumns();
}
}
private void FormJenis_Load(object sender, EventArgs e)
{
cmbKodeJenis.Items.Add("F001");
cmbKodeJenis.Items.Add("G001");
}
private void cmbKodeJenis_SelectedIndexChanged(object sender, EventArgs e)
{
if (cmbKodeJenis.SelectedIndex.Equals(0))
{
txtnamajenis.Text = "Film / Movie";
}
else if (cmbKodeJenis.SelectedIndex.Equals(1))
{
txtnamajenis.Text = "Games";
}
}
private void btnReset_Click(object sender, EventArgs e)
{
cmbKodeJenis.Text = "";
txtnamajenis.Clear();
}
private void btnHapus_Click(object sender, EventArgs e)
{
dataGridView1.Rows.Clear();
}
private void btnUbah_Click(object sender, EventArgs e)
{
dataGridView1.CurrentRow.Cells[0].Value = cmbKodeJenis.Text;
dataGridView1.CurrentRow.Cells[1].Value = txtnamajenis.Text;
}
private void tampildatagrid()
{
cmbKodeJenis.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString();
txtnamajenis.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString();
}
private void dataGridView1_CellContentClick(object sender,
DataGridViewCellEventArgs e)
{
tampildatagrid();
}
private void dataGridView1_KeyUp(object sender, KeyEventArgs e)
{
tampildatagrid();
}
}
}
1.3 CODE PROGRAM FORM NAMA CD
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Rentalcd
{
public partial class FormNamaCD : Form
{
public FormNamaCD()
{
InitializeComponent();
}
private void FormNamaCD_Load(object sender, EventArgs e)
{
cmdkode.Items.Add("F001-1");
cmdkode.Items.Add("F001-2");
cmdkode.Items.Add("F001-3");
cmdkode.Items.Add("F001-4");
cmdkode.Items.Add("F001-5");
cmdkode.Items.Add("G001-1");
cmdkode.Items.Add("G001-2");
cmdkode.Items.Add("G001-3");
cmdkode.Items.Add("G001-4");
cmdkode.Items.Add("G001-5");
}
private void cmdkode_SelectedIndexChanged(object sender, EventArgs e)
{
if (cmdkode.SelectedIndex.Equals(0))
{
txtnama.Text = "Twilight";
txtharga.Text = "7000";
}
else if (cmdkode.SelectedIndex.Equals(1))
{
txtnama.Text = "The Amazing Spiderman";
txtharga.Text = "6500";
}
else if (cmdkode.SelectedIndex.Equals(2))
{
txtnama.Text = "Spiderman";
txtharga.Text = "5000";
}
else if (cmdkode.SelectedIndex.Equals(3))
{
txtnama.Text = "Need For Speed";
txtharga.Text = "10000";
}
else if (cmdkode.SelectedIndex.Equals(4))
{
txtnama.Text = "Transformers 4";
txtharga.Text = "15000";
}
else if (cmdkode.SelectedIndex.Equals(5))
{
txtnama.Text = "Pes 2013";
txtharga.Text = "8000";
}
else if (cmdkode.SelectedIndex.Equals(6))
{
txtnama.Text = "Pes 2014";
txtharga.Text = "9500";
}
else if (cmdkode.SelectedIndex.Equals(7))
{
txtnama.Text = "FIFA";
txtharga.Text = "8000";
}
else if (cmdkode.SelectedIndex.Equals(8))
{
txtnama.Text = "The Sims";
txtharga.Text = "6000";
}
else if (cmdkode.SelectedIndex.Equals(9))
{
txtnama.Text = "DotA";
txtharga.Text = "10500";
}
}
private void btnSimpan_Click(object sender, EventArgs e)
{
if (cmdkode.Text == "")
{
errorProvider1.SetError(cmdkode, "Isikan Kode !");
}
if (txtnama.Text == "")
{
errorProvider1.SetError(txtnama, "Isikan Nama CD !");
}
if (txtharga.Text == "")
{
errorProvider1.SetError(txtharga, "Isi Harga CD ! ");
}
if (txtstok.Text == "")
{
errorProvider1.SetError(txtstok, "Isi jumlah Stok yang tersedia");
}
else
{
string[] baris = { cmdkode.Text, txtnama.Text, txtharga.Text,
txtstok.Text };
dataGridView1.Rows.Add(baris);
dataGridView1.AutoResizeColumns();
}
}
private void btnUbah_Click(object sender, EventArgs e)
{
dataGridView1.CurrentRow.Cells[0].Value = cmdkode.Text;
dataGridView1.CurrentRow.Cells[1].Value = txtnama.Text;
dataGridView1.CurrentRow.Cells[2].Value = txtharga.Text;
dataGridView1.CurrentRow.Cells[3].Value = txtstok.Text;
}
private void btnHapus_Click(object sender, EventArgs e)
{
dataGridView1.Rows.Clear();
}
private void btnReset_Click(object sender, EventArgs e)
{
cmdkode.Text = "";
txtnama.Clear();
txtharga.Clear();
txtstok.Clear();
}
private void tampildatagrid()
{
cmdkode.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString();
txtnama.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString();
txtharga.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString();
txtstok.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString();
}
private void dataGridView1_CellContentClick(object sender,
DataGridViewCellEventArgs e)
{
tampildatagrid();
}
private void dataGridView1_KeyUp(object sender, KeyEventArgs e)
{
tampildatagrid();
}
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
tampildatagrid();
}
}
}
1.4 CODE PROGRAM FORM MEMBER
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Rentalcd
{
public partial class FormMember : Form
{
public FormMember()
{
InitializeComponent();
}
private void FormMember_Load(object sender, EventArgs e)
{
cmdmember.Items.Add("Mb123");
cmdmember.Items.Add("Mb456");
cmdmember.Items.Add("Mb789");
cmdmember.Items.Add("Mb111");
cmdmember.Items.Add("Mb222");
cmdmember.Items.Add("Mb333");
cmdmember.Items.Add("Mb444");
cmdmember.Items.Add("Mb555");
cmdmember.Items.Add("Mb666");
cmdmember.Items.Add("Mb777");
}
private void cmdmember_SelectedIndexChanged(object sender, EventArgs e)
{
if (cmdmember.SelectedIndex.Equals(0))
{
txtnama.Text = "Marley Rose";
txtalamat.Text = "Jl.Merpati 1, Bandung";
txtnotelp.Text = "081727335889";
}
else if (cmdmember.SelectedIndex.Equals(1))
{
txtnama.Text = "Blake Janner";
txtalamat.Text = "Jl.Kemerdekaan, Jakarta";
txtnotelp.Text = "081727786543";
}
else if (cmdmember.SelectedIndex.Equals(2))
{
txtnama.Text = "Blaine Anderson";
txtalamat.Text = "Jl.Merdeka, Purwokerto";
txtnotelp.Text = "08177646598";
}
else if (cmdmember.SelectedIndex.Equals(3))
{
txtnama.Text = "Andrew Garfield";
txtalamat.Text = "Jl.Garuda, Purwokerto";
txtnotelp.Text = "081678543000";
}
else if (cmdmember.SelectedIndex.Equals(4))
{
txtnama.Text = "Emma Watson";
txtalamat.Text = "Jl.Jend.Sudirman, Purwokerto";
txtnotelp.Text = "081727335889";
}
else if (cmdmember.SelectedIndex.Equals(5))
{
txtnama.Text = "Melina K";
txtalamat.Text = "Jl.Sitapen, Purwokerto";
txtnotelp.Text = "083455777345";
}
else if (cmdmember.SelectedIndex.Equals(6))
{
txtnama.Text = "Jacob Artist";
txtalamat.Text = "Baleendah, Bandung";
txtnotelp.Text = "081727335889";
}
else if (cmdmember.SelectedIndex.Equals(7))
{
txtnama.Text = "Kristen Steward";
txtalamat.Text = "Ciparay, Bandung";
txtnotelp.Text = "081788835889";
}
else if (cmdmember.SelectedIndex.Equals(8))
{
txtnama.Text = "Mochammad F";
txtalamat.Text = "Jl.Merdeka, Purwokerto";
txtnotelp.Text = "081727335889";
}
else if (cmdmember.SelectedIndex.Equals(9))
{
txtnama.Text = "Arfina Anggraeni";
txtalamat.Text = "Arcawinangun, Purwokerto";
txtnotelp.Text = "085443788989";
}
}
private void btnSimpan_Click(object sender, EventArgs e)
{
if (cmdmember.Text == "")
{
errorProvider1.SetError(cmdmember, "ID Member Harus diisi !");
}
if (txtnama.Text == "")
{
errorProvider1.SetError(txtnama, "Nama Member harus diisi !");
}
if (txtalamat.Text == "")
{
errorProvider1.SetError(txtalamat, "Alamat Harus Diisi !");
}
if (txtnotelp.Text == "")
{
errorProvider1.SetError(txtnotelp, "Nomor Telepon Harus Diisi !");
}
else
{
string[] baris = { cmdmember.Text, txtnama.Text, txtalamat.Text,
txtnotelp.Text };
dataGridView1.Rows.Add(baris);
dataGridView1.AutoResizeColumns();
}
}
private void btnUbah_Click(object sender, EventArgs e)
{
dataGridView1.CurrentRow.Cells[0].Value = cmdmember.Text;
dataGridView1.CurrentRow.Cells[1].Value = txtnama.Text;
dataGridView1.CurrentRow.Cells[2].Value = txtalamat.Text;
dataGridView1.CurrentRow.Cells[3].Value = txtnotelp.Text;
}
private void btnHapus_Click(object sender, EventArgs e)
{
dataGridView1.Rows.Clear();
}
private void btnReset_Click(object sender, EventArgs e)
{
cmdmember.Text = "";
txtnama.Clear();
txtalamat.Clear();
txtnotelp.Clear();
}
private void tampildatagrid()
{
cmdmember.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString();
txtnama.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString();
txtalamat.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString();
txtnotelp.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString();
}
private void dataGridView1_CellContentClick(object sender,
DataGridViewCellEventArgs e)
{
tampildatagrid();
}
private void dataGridView1_KeyUp(object sender, KeyEventArgs e)
{
tampildatagrid();
}
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
tampildatagrid();
}
}
}
TRANSAKSI
1.5 CODE PROGRAM FORM DATA PEMINJAMAN
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Rentalcd
{
public partial class FormDataPeminjaman : Form
{
public FormDataPeminjaman()
{
InitializeComponent();
}
private void FormDataPeminjaman_Load(object sender, EventArgs e)
{
}
private void btnhitung_Click(object sender, EventArgs e)
{
int jumlah, diskon, total;
if (rb10.Checked)
{
jumlah = (int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text)));
diskon = (int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))) * 10
/ 100;
total = jumlah - diskon;
int.Parse(txtTotal.Text = total.ToString());
}
else if (rb5.Checked)
{
jumlah = (int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text)));
diskon = (int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))) * 5
/ 100;
total = jumlah - diskon;
int.Parse(txtTotal.Text = total.ToString());
}
else
{
txtTotal.Text = (int.Parse(txtJumlah.Text) *
(int.Parse(txtHarga.Text))).ToString();
}
}
private void btnSimpan_Click(object sender, EventArgs e)
{
string diskon;
if (rb10.Checked == true)
{
diskon = ((int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))) *
10 / 100).ToString();
}
else
{
diskon = ((int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))) * 5
/ 100).ToString();
}
string[] baris = { txtnomorpeminjaman.Text, txtIDmember.Text,
txtKodeJeniscd.Text, txtKodeCD.Text, txtHarga.Text, txtJumlah.Text, diskon,
txtTotal.Text };
dataGridView1.Rows.Add(baris);
dataGridView1.AutoResizeColumns();
}
private void btnUbah_Click(object sender, EventArgs e)
{
dataGridView1.CurrentRow.Cells[0].Value = txtnomorpeminjaman.Text;
dataGridView1.CurrentRow.Cells[1].Value = txtIDmember.Text;
dataGridView1.CurrentRow.Cells[2].Value = txtKodeJeniscd.Text;
dataGridView1.CurrentRow.Cells[3].Value = txtKodeCD.Text;
dataGridView1.CurrentRow.Cells[4].Value = txtHarga.Text;
dataGridView1.CurrentRow.Cells[5].Value = txtJumlah.Text;
dataGridView1.CurrentRow.Cells[6].Value = txtTotal.Text;
}
private void btnHapus_Click(object sender, EventArgs e)
{
dataGridView1.Rows.Clear();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtnomorpeminjaman.Clear();
txtIDmember.Clear();
txtKodeJeniscd.Clear();
txtKodeCD.Clear();
txtHarga.Clear();
txtJumlah.Clear();
txtTotal.Clear();
}
private void btnExit_Click(object sender, EventArgs e)
{
Close();
}
private void tampildatagrid()
{
txtnomorpeminjaman.Text =
dataGridView1.CurrentRow.Cells[0].Value.ToString();
txtIDmember.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString();
txtKodeJeniscd.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString();
txtKodeCD.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString();
txtHarga.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString();
txtJumlah.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString();
txtTotal.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString();
}
private void dataGridView1_CellContentClick(object sender,
DataGridViewCellEventArgs e)
{
tampildatagrid();
}
private void dataGridView1_KeyUp(object sender, KeyEventArgs e)
{
tampildatagrid();
}
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
tampildatagrid();
}
private void groupBox2_Enter(object sender, EventArgs e)
{
}
}
}
1.6 CODE PROGRAM FORM DATA PENGEMBALIAN
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Rentalcd
{
public partial class FormDataPengembalian : Form
{
DateTime tanggal1;
DateTime tanggal2;
TimeSpan hasil;
public FormDataPengembalian()
{
InitializeComponent();
}
private void txtnomorpeminjaman_TextChanged(object sender, EventArgs e)
{
}
private void FormDataPengembalian_Load(object sender, EventArgs e)
{
}
private void dateTimeKembali_ValueChanged(object sender, EventArgs e)
{
}
private void btnOK_Click(object sender, EventArgs e)
{
tanggal1 = dateTimePinjam.Value;
tanggal2 = dateTimeKembali.Value;
hasil = tanggal2.Subtract(tanggal1);
txtlama.Text = hasil.ToString();
}
private void btnSimpan_Click(object sender, EventArgs e)
{
if (txtkodePengembalian.Text == "")
{
errorProvider1.SetError(txtkodePengembalian, "Kode Pengembalian Harus
diisi !");
}
if (txtkodecd.Text == "")
{
errorProvider1.SetError(txtkodecd, "Kode CD Harus Diisi !");
}
if (txtidmember.Text == "")
{
errorProvider1.SetError(txtidmember, "ID Member Harus diisi !");
}
if (dateTimePinjam.Text == "")
{
errorProvider1.SetError(dateTimePinjam, "Tanggal Pinjam harus diisi
!");
}
if (dateTimeKembali.Text == "")
{
errorProvider1.SetError(dateTimeKembali, "Tanggal Kembali harus diisi
!");
}
else
{
string[] baris = { txtkodePengembalian.Text, txtkodecd.Text,
txtidmember.Text, dateTimePinjam.Text, dateTimeKembali.Text, txtlama.Text,
txttotal.Text, txtdenda.Text};
dataGridView1.Rows.Add(baris);
dataGridView1.AutoResizeColumns();
}
}
private void btnUbah_Click(object sender, EventArgs e)
{
dataGridView1.CurrentRow.Cells[0].Value = txtkodePengembalian.Text;
dataGridView1.CurrentRow.Cells[1].Value = txtkodecd.Text;
dataGridView1.CurrentRow.Cells[2].Value = txtidmember.Text;
dataGridView1.CurrentRow.Cells[3].Value = dateTimePinjam.Text;
dataGridView1.CurrentRow.Cells[4].Value = dateTimeKembali.Text;
dataGridView1.CurrentRow.Cells[5].Value = txtlama;
dataGridView1.CurrentRow.Cells[6].Value = txttotal.Text;
dataGridView1.CurrentRow.Cells[7].Value = txtdenda.Text;
}
private void btnHapus_Click(object sender, EventArgs e)
{
dataGridView1.Rows.Clear();
}
private void btnReset_Click(object sender, EventArgs e)
{
txtkodePengembalian.Clear();
txtkodecd.Clear();
txtidmember.Clear();
txtlama.Clear();
}
private void tampildatagrid()
{
txtkodePengembalian.Text =
dataGridView1.CurrentRow.Cells[0].Value.ToString();
txtkodecd.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString();
txtidmember.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString();
dateTimePinjam.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString();
dateTimeKembali.Text =
dataGridView1.CurrentRow.Cells[4].Value.ToString();
txtlama.Text = dataGridView1.CurrentRow.Cells[5].Value.ToString();
txttotal.Text =
dataGridView1.CurrentRow.Cells[6].Value.ToString();
txtdenda.Text =
dataGridView1.CurrentRow.Cells[7].Value.ToString();
}
private void btnexit_Click(object sender, EventArgs e)
{
Close();
}
private void dataGridView1_CellContentClick(object sender,
DataGridViewCellEventArgs e)
{
tampildatagrid();
}
private void dataGridView1_KeyUp(object sender, KeyEventArgs e)
{
tampildatagrid();
}
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
tampildatagrid();
}
}
}
2. HASIL RUNNING (OUTPUT PROGRAM)
2.1 FORM MENU
2.2 FORM JENIS CD
2.3 FORM NAMA CD
2.4 FORM MEMBER
2.5 FORM DATA PEMINJAMAN
2.6 FORM DATA PENGEMBALIAN

More Related Content

Viewers also liked

Laporan praktikum 4 Sistem Operasi - External Command (mem, xcopy, system, l...
Laporan praktikum 4  Sistem Operasi - External Command (mem, xcopy, system, l...Laporan praktikum 4  Sistem Operasi - External Command (mem, xcopy, system, l...
Laporan praktikum 4 Sistem Operasi - External Command (mem, xcopy, system, l...Melina Krisnawati
 
File system di linux
File system di linuxFile system di linux
File system di linuxDhea Dhea
 
Sistem operasi manajemen memori linux
Sistem operasi manajemen memori linuxSistem operasi manajemen memori linux
Sistem operasi manajemen memori linuxdimas wahab
 
Arsitektur sistem operasi linux.
Arsitektur sistem operasi linux.Arsitektur sistem operasi linux.
Arsitektur sistem operasi linux.UIN SUSKA RIAU
 
Manajemen Proses pada Linux
Manajemen Proses pada LinuxManajemen Proses pada Linux
Manajemen Proses pada Linuxnisarhmayanti
 
Manajemen file windows
Manajemen file windowsManajemen file windows
Manajemen file windowsdimas wahab
 
Makalah Perbedaan antara bb,android,windows phone dan ios
Makalah Perbedaan antara bb,android,windows phone dan iosMakalah Perbedaan antara bb,android,windows phone dan ios
Makalah Perbedaan antara bb,android,windows phone dan iosFakieh Maulana
 
Laporan praktikum i dan ii tentang mengenal perintah dasar linux ubuntu
Laporan praktikum i dan ii tentang mengenal perintah dasar linux ubuntuLaporan praktikum i dan ii tentang mengenal perintah dasar linux ubuntu
Laporan praktikum i dan ii tentang mengenal perintah dasar linux ubuntuMelina Krisnawati
 
Sistem operasi sistem file linux
Sistem operasi sistem file linuxSistem operasi sistem file linux
Sistem operasi sistem file linuxmupidah ptik
 
OPERASI INPUT OUTPUT di Linux
OPERASI INPUT OUTPUT di LinuxOPERASI INPUT OUTPUT di Linux
OPERASI INPUT OUTPUT di LinuxIbrahim Naki
 
Makalah sistem operasi android
Makalah sistem operasi androidMakalah sistem operasi android
Makalah sistem operasi androidBudi Wicaksono
 
makalah sistem operasi - android vd ios
makalah sistem operasi - android vd iosmakalah sistem operasi - android vd ios
makalah sistem operasi - android vd iosMelina Krisnawati
 
Perintah Dasar Sistem Operasi Linux
Perintah Dasar Sistem Operasi LinuxPerintah Dasar Sistem Operasi Linux
Perintah Dasar Sistem Operasi LinuxIbrahim Naki
 
presentasi Android
presentasi Androidpresentasi Android
presentasi AndroidHanasah Run
 
Sistem operasi android
Sistem operasi androidSistem operasi android
Sistem operasi androidKiky Arin
 

Viewers also liked (20)

Laporan praktikum 4 Sistem Operasi - External Command (mem, xcopy, system, l...
Laporan praktikum 4  Sistem Operasi - External Command (mem, xcopy, system, l...Laporan praktikum 4  Sistem Operasi - External Command (mem, xcopy, system, l...
Laporan praktikum 4 Sistem Operasi - External Command (mem, xcopy, system, l...
 
File system di linux
File system di linuxFile system di linux
File system di linux
 
Sistem operasi manajemen memori linux
Sistem operasi manajemen memori linuxSistem operasi manajemen memori linux
Sistem operasi manajemen memori linux
 
Arsitektur sistem operasi linux.
Arsitektur sistem operasi linux.Arsitektur sistem operasi linux.
Arsitektur sistem operasi linux.
 
Manajemen Proses pada Linux
Manajemen Proses pada LinuxManajemen Proses pada Linux
Manajemen Proses pada Linux
 
Manajemen file windows
Manajemen file windowsManajemen file windows
Manajemen file windows
 
Makalah Perbedaan antara bb,android,windows phone dan ios
Makalah Perbedaan antara bb,android,windows phone dan iosMakalah Perbedaan antara bb,android,windows phone dan ios
Makalah Perbedaan antara bb,android,windows phone dan ios
 
Laporan praktikum i dan ii tentang mengenal perintah dasar linux ubuntu
Laporan praktikum i dan ii tentang mengenal perintah dasar linux ubuntuLaporan praktikum i dan ii tentang mengenal perintah dasar linux ubuntu
Laporan praktikum i dan ii tentang mengenal perintah dasar linux ubuntu
 
Sistem operasi sistem file linux
Sistem operasi sistem file linuxSistem operasi sistem file linux
Sistem operasi sistem file linux
 
Linux dan windows
Linux dan windowsLinux dan windows
Linux dan windows
 
OPERASI INPUT OUTPUT di Linux
OPERASI INPUT OUTPUT di LinuxOPERASI INPUT OUTPUT di Linux
OPERASI INPUT OUTPUT di Linux
 
Makalah sistem operasi android
Makalah sistem operasi androidMakalah sistem operasi android
Makalah sistem operasi android
 
Makalah gps
Makalah gpsMakalah gps
Makalah gps
 
makalah sistem operasi - android vd ios
makalah sistem operasi - android vd iosmakalah sistem operasi - android vd ios
makalah sistem operasi - android vd ios
 
Perintah Dasar Sistem Operasi Linux
Perintah Dasar Sistem Operasi LinuxPerintah Dasar Sistem Operasi Linux
Perintah Dasar Sistem Operasi Linux
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Ppt android
Ppt androidPpt android
Ppt android
 
presentasi Android
presentasi Androidpresentasi Android
presentasi Android
 
Sistem operasi android
Sistem operasi androidSistem operasi android
Sistem operasi android
 
Android ppt
Android pptAndroid ppt
Android ppt
 

Similar to RENTAL CD MENUSTRIP AND FORM PROGRAMMING

Program.csusing System; using System.Collections.Generic; usin.pdf
Program.csusing System; using System.Collections.Generic; usin.pdfProgram.csusing System; using System.Collections.Generic; usin.pdf
Program.csusing System; using System.Collections.Generic; usin.pdfanandf0099
 
Calculator Program in C#.NET
Calculator Program in C#.NET Calculator Program in C#.NET
Calculator Program in C#.NET Dhairya Joshi
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMSaraswathiRamalingam
 
Creating image thumbnails in asp.net
Creating image thumbnails in asp.netCreating image thumbnails in asp.net
Creating image thumbnails in asp.netgridviewnet
 
Csphtp1 12
Csphtp1 12Csphtp1 12
Csphtp1 12HUST
 
JEDI Slides-Intro2-Chapter20-GUI Event Handling.pdf
JEDI Slides-Intro2-Chapter20-GUI Event Handling.pdfJEDI Slides-Intro2-Chapter20-GUI Event Handling.pdf
JEDI Slides-Intro2-Chapter20-GUI Event Handling.pdfMarlouFelixIIICunana
 
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...Frédéric Harper
 
New text document
New text documentNew text document
New text documentTam Ngo
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMSaraswathiRamalingam
 
Distributed Computing on PostgreSQL | PGConf EU 2017 | Marco Slot
Distributed Computing on PostgreSQL | PGConf EU 2017 | Marco SlotDistributed Computing on PostgreSQL | PGConf EU 2017 | Marco Slot
Distributed Computing on PostgreSQL | PGConf EU 2017 | Marco SlotCitus Data
 
Ipc clipboard and data copy
Ipc  clipboard and  data copyIpc  clipboard and  data copy
Ipc clipboard and data copyVinoth Raj
 
201003 - Abdullah.pdf
201003 - Abdullah.pdf201003 - Abdullah.pdf
201003 - Abdullah.pdfAbdullah20897
 
C# Delegates and Event Handling
C# Delegates and Event HandlingC# Delegates and Event Handling
C# Delegates and Event HandlingJussi Pohjolainen
 
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome Massimiliano Dessì
 
Converting Db Schema Into Uml Classes
Converting Db Schema Into Uml ClassesConverting Db Schema Into Uml Classes
Converting Db Schema Into Uml ClassesKaniska Mandal
 

Similar to RENTAL CD MENUSTRIP AND FORM PROGRAMMING (20)

Program.csusing System; using System.Collections.Generic; usin.pdf
Program.csusing System; using System.Collections.Generic; usin.pdfProgram.csusing System; using System.Collections.Generic; usin.pdf
Program.csusing System; using System.Collections.Generic; usin.pdf
 
Vp4
Vp4Vp4
Vp4
 
C#
C#C#
C#
 
Insertarbotones en c
Insertarbotones en cInsertarbotones en c
Insertarbotones en c
 
Calculator Program in C#.NET
Calculator Program in C#.NET Calculator Program in C#.NET
Calculator Program in C#.NET
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 
Creating image thumbnails in asp.net
Creating image thumbnails in asp.netCreating image thumbnails in asp.net
Creating image thumbnails in asp.net
 
Csphtp1 12
Csphtp1 12Csphtp1 12
Csphtp1 12
 
JEDI Slides-Intro2-Chapter20-GUI Event Handling.pdf
JEDI Slides-Intro2-Chapter20-GUI Event Handling.pdfJEDI Slides-Intro2-Chapter20-GUI Event Handling.pdf
JEDI Slides-Intro2-Chapter20-GUI Event Handling.pdf
 
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
Windows 8 Pure Imagination - 2012-11-25 - Extending Your Game with Windows 8 ...
 
New text document
New text documentNew text document
New text document
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 
Distributed Computing on PostgreSQL | PGConf EU 2017 | Marco Slot
Distributed Computing on PostgreSQL | PGConf EU 2017 | Marco SlotDistributed Computing on PostgreSQL | PGConf EU 2017 | Marco Slot
Distributed Computing on PostgreSQL | PGConf EU 2017 | Marco Slot
 
Ipc clipboard and data copy
Ipc  clipboard and  data copyIpc  clipboard and  data copy
Ipc clipboard and data copy
 
201003 - Abdullah.pdf
201003 - Abdullah.pdf201003 - Abdullah.pdf
201003 - Abdullah.pdf
 
12 gui concepts 1
12 gui concepts 112 gui concepts 1
12 gui concepts 1
 
C# Delegates and Event Handling
C# Delegates and Event HandlingC# Delegates and Event Handling
C# Delegates and Event Handling
 
delegates
delegatesdelegates
delegates
 
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
 
Converting Db Schema Into Uml Classes
Converting Db Schema Into Uml ClassesConverting Db Schema Into Uml Classes
Converting Db Schema Into Uml Classes
 

More from Melina Krisnawati

Kode program layout xml dan tampilan ui graphical (menggunakan eclipse)
Kode program layout xml dan tampilan ui graphical (menggunakan eclipse)Kode program layout xml dan tampilan ui graphical (menggunakan eclipse)
Kode program layout xml dan tampilan ui graphical (menggunakan eclipse)Melina Krisnawati
 
Aplikasi sistem informasi pada fungsi fungsi organisasi
Aplikasi sistem informasi pada fungsi   fungsi organisasiAplikasi sistem informasi pada fungsi   fungsi organisasi
Aplikasi sistem informasi pada fungsi fungsi organisasiMelina Krisnawati
 
Laporan Final Project - Aplikasi Sistem Informasi Rental CD - Netbeans
Laporan Final Project - Aplikasi Sistem Informasi Rental CD - NetbeansLaporan Final Project - Aplikasi Sistem Informasi Rental CD - Netbeans
Laporan Final Project - Aplikasi Sistem Informasi Rental CD - NetbeansMelina Krisnawati
 
Java (Netbeans) - Abstract & Interface - Object Oriented Programming
Java (Netbeans) - Abstract & Interface - Object Oriented ProgrammingJava (Netbeans) - Abstract & Interface - Object Oriented Programming
Java (Netbeans) - Abstract & Interface - Object Oriented ProgrammingMelina Krisnawati
 
Java (Netbeans) Polymorphism - Object Oriented Programming (OOP)
Java (Netbeans) Polymorphism - Object Oriented Programming (OOP)Java (Netbeans) Polymorphism - Object Oriented Programming (OOP)
Java (Netbeans) Polymorphism - Object Oriented Programming (OOP)Melina Krisnawati
 
Java (Netbeans) - Exception handling - Object Oriented Programming
Java (Netbeans) - Exception handling - Object Oriented ProgrammingJava (Netbeans) - Exception handling - Object Oriented Programming
Java (Netbeans) - Exception handling - Object Oriented ProgrammingMelina Krisnawati
 
Java (Netbeans) - Looping - Object Oriented Programming
Java (Netbeans) - Looping - Object Oriented ProgrammingJava (Netbeans) - Looping - Object Oriented Programming
Java (Netbeans) - Looping - Object Oriented ProgrammingMelina Krisnawati
 
Java (Netbeans) - Class, Constructor, Object (Object Oriented Programming)
Java (Netbeans) - Class, Constructor, Object (Object Oriented Programming)Java (Netbeans) - Class, Constructor, Object (Object Oriented Programming)
Java (Netbeans) - Class, Constructor, Object (Object Oriented Programming)Melina Krisnawati
 
Laporan pembuatan Final Project (Java - Netbeans) "Rental CD"
Laporan pembuatan Final Project (Java - Netbeans) "Rental CD"Laporan pembuatan Final Project (Java - Netbeans) "Rental CD"
Laporan pembuatan Final Project (Java - Netbeans) "Rental CD"Melina Krisnawati
 
Konsep & storyboard game multimedia (puzzle alphabet)
Konsep & storyboard game multimedia (puzzle alphabet)Konsep & storyboard game multimedia (puzzle alphabet)
Konsep & storyboard game multimedia (puzzle alphabet)Melina Krisnawati
 
Multimedia 2D (Game) - Puzzle alphabet
Multimedia 2D (Game) - Puzzle alphabetMultimedia 2D (Game) - Puzzle alphabet
Multimedia 2D (Game) - Puzzle alphabetMelina Krisnawati
 
Pemrograman Mobile - Try Catch
Pemrograman Mobile - Try CatchPemrograman Mobile - Try Catch
Pemrograman Mobile - Try CatchMelina Krisnawati
 
Laporan praktikum 3 - Sistem Operasi Internal & External Command (Lanjutan)
Laporan praktikum 3 - Sistem Operasi Internal & External Command (Lanjutan)Laporan praktikum 3 - Sistem Operasi Internal & External Command (Lanjutan)
Laporan praktikum 3 - Sistem Operasi Internal & External Command (Lanjutan)Melina Krisnawati
 
Laporan praktikum 2 - Sistem Operasi - internal command - copy con, rename,...
Laporan praktikum 2  - Sistem Operasi -  internal command - copy con, rename,...Laporan praktikum 2  - Sistem Operasi -  internal command - copy con, rename,...
Laporan praktikum 2 - Sistem Operasi - internal command - copy con, rename,...Melina Krisnawati
 
Laporan Praktikum - Sistem Operasi - Perintah Internal Command
Laporan Praktikum - Sistem Operasi - Perintah Internal CommandLaporan Praktikum - Sistem Operasi - Perintah Internal Command
Laporan Praktikum - Sistem Operasi - Perintah Internal CommandMelina Krisnawati
 

More from Melina Krisnawati (18)

Kode program layout xml dan tampilan ui graphical (menggunakan eclipse)
Kode program layout xml dan tampilan ui graphical (menggunakan eclipse)Kode program layout xml dan tampilan ui graphical (menggunakan eclipse)
Kode program layout xml dan tampilan ui graphical (menggunakan eclipse)
 
Tugas algoritma fibonacci
Tugas algoritma   fibonacciTugas algoritma   fibonacci
Tugas algoritma fibonacci
 
Tugas algoritma faktorial
Tugas algoritma   faktorialTugas algoritma   faktorial
Tugas algoritma faktorial
 
Algoritma - Array
Algoritma - ArrayAlgoritma - Array
Algoritma - Array
 
Aplikasi sistem informasi pada fungsi fungsi organisasi
Aplikasi sistem informasi pada fungsi   fungsi organisasiAplikasi sistem informasi pada fungsi   fungsi organisasi
Aplikasi sistem informasi pada fungsi fungsi organisasi
 
Laporan Final Project - Aplikasi Sistem Informasi Rental CD - Netbeans
Laporan Final Project - Aplikasi Sistem Informasi Rental CD - NetbeansLaporan Final Project - Aplikasi Sistem Informasi Rental CD - Netbeans
Laporan Final Project - Aplikasi Sistem Informasi Rental CD - Netbeans
 
Java (Netbeans) - Abstract & Interface - Object Oriented Programming
Java (Netbeans) - Abstract & Interface - Object Oriented ProgrammingJava (Netbeans) - Abstract & Interface - Object Oriented Programming
Java (Netbeans) - Abstract & Interface - Object Oriented Programming
 
Java (Netbeans) Polymorphism - Object Oriented Programming (OOP)
Java (Netbeans) Polymorphism - Object Oriented Programming (OOP)Java (Netbeans) Polymorphism - Object Oriented Programming (OOP)
Java (Netbeans) Polymorphism - Object Oriented Programming (OOP)
 
Java (Netbeans) - Exception handling - Object Oriented Programming
Java (Netbeans) - Exception handling - Object Oriented ProgrammingJava (Netbeans) - Exception handling - Object Oriented Programming
Java (Netbeans) - Exception handling - Object Oriented Programming
 
Java (Netbeans) - Looping - Object Oriented Programming
Java (Netbeans) - Looping - Object Oriented ProgrammingJava (Netbeans) - Looping - Object Oriented Programming
Java (Netbeans) - Looping - Object Oriented Programming
 
Java (Netbeans) - Class, Constructor, Object (Object Oriented Programming)
Java (Netbeans) - Class, Constructor, Object (Object Oriented Programming)Java (Netbeans) - Class, Constructor, Object (Object Oriented Programming)
Java (Netbeans) - Class, Constructor, Object (Object Oriented Programming)
 
Laporan pembuatan Final Project (Java - Netbeans) "Rental CD"
Laporan pembuatan Final Project (Java - Netbeans) "Rental CD"Laporan pembuatan Final Project (Java - Netbeans) "Rental CD"
Laporan pembuatan Final Project (Java - Netbeans) "Rental CD"
 
Konsep & storyboard game multimedia (puzzle alphabet)
Konsep & storyboard game multimedia (puzzle alphabet)Konsep & storyboard game multimedia (puzzle alphabet)
Konsep & storyboard game multimedia (puzzle alphabet)
 
Multimedia 2D (Game) - Puzzle alphabet
Multimedia 2D (Game) - Puzzle alphabetMultimedia 2D (Game) - Puzzle alphabet
Multimedia 2D (Game) - Puzzle alphabet
 
Pemrograman Mobile - Try Catch
Pemrograman Mobile - Try CatchPemrograman Mobile - Try Catch
Pemrograman Mobile - Try Catch
 
Laporan praktikum 3 - Sistem Operasi Internal & External Command (Lanjutan)
Laporan praktikum 3 - Sistem Operasi Internal & External Command (Lanjutan)Laporan praktikum 3 - Sistem Operasi Internal & External Command (Lanjutan)
Laporan praktikum 3 - Sistem Operasi Internal & External Command (Lanjutan)
 
Laporan praktikum 2 - Sistem Operasi - internal command - copy con, rename,...
Laporan praktikum 2  - Sistem Operasi -  internal command - copy con, rename,...Laporan praktikum 2  - Sistem Operasi -  internal command - copy con, rename,...
Laporan praktikum 2 - Sistem Operasi - internal command - copy con, rename,...
 
Laporan Praktikum - Sistem Operasi - Perintah Internal Command
Laporan Praktikum - Sistem Operasi - Perintah Internal CommandLaporan Praktikum - Sistem Operasi - Perintah Internal Command
Laporan Praktikum - Sistem Operasi - Perintah Internal Command
 

Recently uploaded

Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 

RENTAL CD MENUSTRIP AND FORM PROGRAMMING

  • 1. TUGAS AKHIR PRAKTIKUM SP MEMBUAT MENUSTRIP DAN FORM “RENTAL CD” PEMROGRAMAN VISUAL 1 KELOMPOK 3 DISUSUN OLEH : MELINA KRISNAWATI 12.12.0328 SI 12 F JURUSAN SISTEM INFORMASI SEKOLAH TINGGI MANAJEMEN INFORMATIKA DAN KOMPUTER AMIKOM PURWOKERTO PURWOKERTO 2014
  • 2. LISTING PROGRAM DAN HASIL RUNNING (OUTPUT PROGRAM) 1. CODE PROGRAM (LISTING PROGRAM) 1.1 CODE PROGRAM FORM 1 / MENU UTAMA using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Rentalcd { public partial class frmutama : Form { public frmutama() { InitializeComponent(); } private void frmutama_Load(object sender, EventArgs e) { } private void formJenisCDToolStripMenuItem_Click(object sender, EventArgs e) { FormJenis frjenis = new FormJenis();
  • 3. frjenis.MdiParent = this; frjenis.Show(); frjenis.Focus(); } private void formNamaCDToolStripMenuItem_Click(object sender, EventArgs e) { FormNamaCD frnama = new FormNamaCD(); frnama.MdiParent = this; frnama.Show(); frnama.Focus(); } private void formToolStripMenuItem_Click(object sender, EventArgs e) { FormMember frnama = new FormMember(); frnama.MdiParent = this; frnama.Show(); frnama.Focus(); } private void formDataPeminjamanToolStripMenuItem_Click(object sender, EventArgs e) { FormDataPeminjaman frnama = new FormDataPeminjaman(); frnama.MdiParent = this; frnama.Show(); frnama.Focus(); } private void formDataPengembalianToolStripMenuItem_Click(object sender, EventArgs e) { FormDataPengembalian frnama = new FormDataPengembalian(); frnama.MdiParent = this; frnama.Show(); frnama.Focus(); } private void keluarToolStripMenuItem_Click(object sender, EventArgs e) { Application.Exit(); } } } 1.2 CODE PROGRAM FORM JENIS CD using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Rentalcd { public partial class FormJenis : Form
  • 4. { public FormJenis() { InitializeComponent(); } private void btnSimpan_Click(object sender, EventArgs e) { if (cmbKodeJenis.Text == "") { errorProvider1.SetError(cmbKodeJenis, "Isi Kode Jenis CD !"); } if (txtnamajenis.Text == "") { errorProvider1.SetError(txtnamajenis, "Isikan Nama Jenis CD"); } else { string[] baris = { cmbKodeJenis.Text, txtnamajenis.Text}; dataGridView1.Rows.Add(baris); dataGridView1.AutoResizeColumns(); } } private void FormJenis_Load(object sender, EventArgs e) { cmbKodeJenis.Items.Add("F001"); cmbKodeJenis.Items.Add("G001"); } private void cmbKodeJenis_SelectedIndexChanged(object sender, EventArgs e) { if (cmbKodeJenis.SelectedIndex.Equals(0)) { txtnamajenis.Text = "Film / Movie"; } else if (cmbKodeJenis.SelectedIndex.Equals(1)) { txtnamajenis.Text = "Games"; } } private void btnReset_Click(object sender, EventArgs e) { cmbKodeJenis.Text = ""; txtnamajenis.Clear(); } private void btnHapus_Click(object sender, EventArgs e) { dataGridView1.Rows.Clear(); } private void btnUbah_Click(object sender, EventArgs e) { dataGridView1.CurrentRow.Cells[0].Value = cmbKodeJenis.Text;
  • 5. dataGridView1.CurrentRow.Cells[1].Value = txtnamajenis.Text; } private void tampildatagrid() { cmbKodeJenis.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString(); txtnamajenis.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString(); } private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { tampildatagrid(); } private void dataGridView1_KeyUp(object sender, KeyEventArgs e) { tampildatagrid(); } } } 1.3 CODE PROGRAM FORM NAMA CD using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Rentalcd { public partial class FormNamaCD : Form { public FormNamaCD() { InitializeComponent(); } private void FormNamaCD_Load(object sender, EventArgs e) { cmdkode.Items.Add("F001-1"); cmdkode.Items.Add("F001-2"); cmdkode.Items.Add("F001-3"); cmdkode.Items.Add("F001-4"); cmdkode.Items.Add("F001-5"); cmdkode.Items.Add("G001-1"); cmdkode.Items.Add("G001-2"); cmdkode.Items.Add("G001-3"); cmdkode.Items.Add("G001-4"); cmdkode.Items.Add("G001-5"); } private void cmdkode_SelectedIndexChanged(object sender, EventArgs e) { if (cmdkode.SelectedIndex.Equals(0)) {
  • 6. txtnama.Text = "Twilight"; txtharga.Text = "7000"; } else if (cmdkode.SelectedIndex.Equals(1)) { txtnama.Text = "The Amazing Spiderman"; txtharga.Text = "6500"; } else if (cmdkode.SelectedIndex.Equals(2)) { txtnama.Text = "Spiderman"; txtharga.Text = "5000"; } else if (cmdkode.SelectedIndex.Equals(3)) { txtnama.Text = "Need For Speed"; txtharga.Text = "10000"; } else if (cmdkode.SelectedIndex.Equals(4)) { txtnama.Text = "Transformers 4"; txtharga.Text = "15000"; } else if (cmdkode.SelectedIndex.Equals(5)) { txtnama.Text = "Pes 2013"; txtharga.Text = "8000"; } else if (cmdkode.SelectedIndex.Equals(6)) { txtnama.Text = "Pes 2014"; txtharga.Text = "9500"; } else if (cmdkode.SelectedIndex.Equals(7)) { txtnama.Text = "FIFA"; txtharga.Text = "8000"; } else if (cmdkode.SelectedIndex.Equals(8)) { txtnama.Text = "The Sims"; txtharga.Text = "6000"; } else if (cmdkode.SelectedIndex.Equals(9)) { txtnama.Text = "DotA"; txtharga.Text = "10500"; } } private void btnSimpan_Click(object sender, EventArgs e) { if (cmdkode.Text == "") { errorProvider1.SetError(cmdkode, "Isikan Kode !"); } if (txtnama.Text == "") { errorProvider1.SetError(txtnama, "Isikan Nama CD !"); }
  • 7. if (txtharga.Text == "") { errorProvider1.SetError(txtharga, "Isi Harga CD ! "); } if (txtstok.Text == "") { errorProvider1.SetError(txtstok, "Isi jumlah Stok yang tersedia"); } else { string[] baris = { cmdkode.Text, txtnama.Text, txtharga.Text, txtstok.Text }; dataGridView1.Rows.Add(baris); dataGridView1.AutoResizeColumns(); } } private void btnUbah_Click(object sender, EventArgs e) { dataGridView1.CurrentRow.Cells[0].Value = cmdkode.Text; dataGridView1.CurrentRow.Cells[1].Value = txtnama.Text; dataGridView1.CurrentRow.Cells[2].Value = txtharga.Text; dataGridView1.CurrentRow.Cells[3].Value = txtstok.Text; } private void btnHapus_Click(object sender, EventArgs e) { dataGridView1.Rows.Clear(); } private void btnReset_Click(object sender, EventArgs e) { cmdkode.Text = ""; txtnama.Clear(); txtharga.Clear(); txtstok.Clear(); } private void tampildatagrid() { cmdkode.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString(); txtnama.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString(); txtharga.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString(); txtstok.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString(); } private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { tampildatagrid(); } private void dataGridView1_KeyUp(object sender, KeyEventArgs e) { tampildatagrid(); } private void dataGridView1_KeyDown(object sender, KeyEventArgs e) { tampildatagrid(); }
  • 8. } } 1.4 CODE PROGRAM FORM MEMBER using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Rentalcd { public partial class FormMember : Form { public FormMember() { InitializeComponent(); } private void FormMember_Load(object sender, EventArgs e) { cmdmember.Items.Add("Mb123"); cmdmember.Items.Add("Mb456"); cmdmember.Items.Add("Mb789"); cmdmember.Items.Add("Mb111"); cmdmember.Items.Add("Mb222"); cmdmember.Items.Add("Mb333"); cmdmember.Items.Add("Mb444"); cmdmember.Items.Add("Mb555"); cmdmember.Items.Add("Mb666"); cmdmember.Items.Add("Mb777"); } private void cmdmember_SelectedIndexChanged(object sender, EventArgs e) { if (cmdmember.SelectedIndex.Equals(0)) { txtnama.Text = "Marley Rose"; txtalamat.Text = "Jl.Merpati 1, Bandung"; txtnotelp.Text = "081727335889"; } else if (cmdmember.SelectedIndex.Equals(1)) { txtnama.Text = "Blake Janner"; txtalamat.Text = "Jl.Kemerdekaan, Jakarta"; txtnotelp.Text = "081727786543"; } else if (cmdmember.SelectedIndex.Equals(2)) { txtnama.Text = "Blaine Anderson"; txtalamat.Text = "Jl.Merdeka, Purwokerto"; txtnotelp.Text = "08177646598"; } else if (cmdmember.SelectedIndex.Equals(3)) {
  • 9. txtnama.Text = "Andrew Garfield"; txtalamat.Text = "Jl.Garuda, Purwokerto"; txtnotelp.Text = "081678543000"; } else if (cmdmember.SelectedIndex.Equals(4)) { txtnama.Text = "Emma Watson"; txtalamat.Text = "Jl.Jend.Sudirman, Purwokerto"; txtnotelp.Text = "081727335889"; } else if (cmdmember.SelectedIndex.Equals(5)) { txtnama.Text = "Melina K"; txtalamat.Text = "Jl.Sitapen, Purwokerto"; txtnotelp.Text = "083455777345"; } else if (cmdmember.SelectedIndex.Equals(6)) { txtnama.Text = "Jacob Artist"; txtalamat.Text = "Baleendah, Bandung"; txtnotelp.Text = "081727335889"; } else if (cmdmember.SelectedIndex.Equals(7)) { txtnama.Text = "Kristen Steward"; txtalamat.Text = "Ciparay, Bandung"; txtnotelp.Text = "081788835889"; } else if (cmdmember.SelectedIndex.Equals(8)) { txtnama.Text = "Mochammad F"; txtalamat.Text = "Jl.Merdeka, Purwokerto"; txtnotelp.Text = "081727335889"; } else if (cmdmember.SelectedIndex.Equals(9)) { txtnama.Text = "Arfina Anggraeni"; txtalamat.Text = "Arcawinangun, Purwokerto"; txtnotelp.Text = "085443788989"; } } private void btnSimpan_Click(object sender, EventArgs e) { if (cmdmember.Text == "") { errorProvider1.SetError(cmdmember, "ID Member Harus diisi !"); } if (txtnama.Text == "") { errorProvider1.SetError(txtnama, "Nama Member harus diisi !"); } if (txtalamat.Text == "") { errorProvider1.SetError(txtalamat, "Alamat Harus Diisi !"); } if (txtnotelp.Text == "") { errorProvider1.SetError(txtnotelp, "Nomor Telepon Harus Diisi !"); }
  • 10. else { string[] baris = { cmdmember.Text, txtnama.Text, txtalamat.Text, txtnotelp.Text }; dataGridView1.Rows.Add(baris); dataGridView1.AutoResizeColumns(); } } private void btnUbah_Click(object sender, EventArgs e) { dataGridView1.CurrentRow.Cells[0].Value = cmdmember.Text; dataGridView1.CurrentRow.Cells[1].Value = txtnama.Text; dataGridView1.CurrentRow.Cells[2].Value = txtalamat.Text; dataGridView1.CurrentRow.Cells[3].Value = txtnotelp.Text; } private void btnHapus_Click(object sender, EventArgs e) { dataGridView1.Rows.Clear(); } private void btnReset_Click(object sender, EventArgs e) { cmdmember.Text = ""; txtnama.Clear(); txtalamat.Clear(); txtnotelp.Clear(); } private void tampildatagrid() { cmdmember.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString(); txtnama.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString(); txtalamat.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString(); txtnotelp.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString(); } private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { tampildatagrid(); } private void dataGridView1_KeyUp(object sender, KeyEventArgs e) { tampildatagrid(); } private void dataGridView1_KeyDown(object sender, KeyEventArgs e) { tampildatagrid(); } } }
  • 11. TRANSAKSI 1.5 CODE PROGRAM FORM DATA PEMINJAMAN using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Rentalcd { public partial class FormDataPeminjaman : Form { public FormDataPeminjaman() { InitializeComponent(); } private void FormDataPeminjaman_Load(object sender, EventArgs e) { } private void btnhitung_Click(object sender, EventArgs e) { int jumlah, diskon, total; if (rb10.Checked) { jumlah = (int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))); diskon = (int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))) * 10 / 100; total = jumlah - diskon; int.Parse(txtTotal.Text = total.ToString()); } else if (rb5.Checked) { jumlah = (int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))); diskon = (int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))) * 5 / 100; total = jumlah - diskon; int.Parse(txtTotal.Text = total.ToString()); } else { txtTotal.Text = (int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))).ToString(); } } private void btnSimpan_Click(object sender, EventArgs e) {
  • 12. string diskon; if (rb10.Checked == true) { diskon = ((int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))) * 10 / 100).ToString(); } else { diskon = ((int.Parse(txtJumlah.Text) * (int.Parse(txtHarga.Text))) * 5 / 100).ToString(); } string[] baris = { txtnomorpeminjaman.Text, txtIDmember.Text, txtKodeJeniscd.Text, txtKodeCD.Text, txtHarga.Text, txtJumlah.Text, diskon, txtTotal.Text }; dataGridView1.Rows.Add(baris); dataGridView1.AutoResizeColumns(); } private void btnUbah_Click(object sender, EventArgs e) { dataGridView1.CurrentRow.Cells[0].Value = txtnomorpeminjaman.Text; dataGridView1.CurrentRow.Cells[1].Value = txtIDmember.Text; dataGridView1.CurrentRow.Cells[2].Value = txtKodeJeniscd.Text; dataGridView1.CurrentRow.Cells[3].Value = txtKodeCD.Text; dataGridView1.CurrentRow.Cells[4].Value = txtHarga.Text; dataGridView1.CurrentRow.Cells[5].Value = txtJumlah.Text; dataGridView1.CurrentRow.Cells[6].Value = txtTotal.Text; } private void btnHapus_Click(object sender, EventArgs e) { dataGridView1.Rows.Clear(); } private void btnReset_Click(object sender, EventArgs e) { txtnomorpeminjaman.Clear(); txtIDmember.Clear(); txtKodeJeniscd.Clear(); txtKodeCD.Clear(); txtHarga.Clear(); txtJumlah.Clear(); txtTotal.Clear(); } private void btnExit_Click(object sender, EventArgs e) { Close(); } private void tampildatagrid() { txtnomorpeminjaman.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString(); txtIDmember.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString(); txtKodeJeniscd.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString(); txtKodeCD.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString();
  • 13. txtHarga.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString(); txtJumlah.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString(); txtTotal.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString(); } private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { tampildatagrid(); } private void dataGridView1_KeyUp(object sender, KeyEventArgs e) { tampildatagrid(); } private void dataGridView1_KeyDown(object sender, KeyEventArgs e) { tampildatagrid(); } private void groupBox2_Enter(object sender, EventArgs e) { } } } 1.6 CODE PROGRAM FORM DATA PENGEMBALIAN using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Rentalcd { public partial class FormDataPengembalian : Form { DateTime tanggal1; DateTime tanggal2; TimeSpan hasil; public FormDataPengembalian() { InitializeComponent(); } private void txtnomorpeminjaman_TextChanged(object sender, EventArgs e) {
  • 14. } private void FormDataPengembalian_Load(object sender, EventArgs e) { } private void dateTimeKembali_ValueChanged(object sender, EventArgs e) { } private void btnOK_Click(object sender, EventArgs e) { tanggal1 = dateTimePinjam.Value; tanggal2 = dateTimeKembali.Value; hasil = tanggal2.Subtract(tanggal1); txtlama.Text = hasil.ToString(); } private void btnSimpan_Click(object sender, EventArgs e) { if (txtkodePengembalian.Text == "") { errorProvider1.SetError(txtkodePengembalian, "Kode Pengembalian Harus diisi !"); } if (txtkodecd.Text == "") { errorProvider1.SetError(txtkodecd, "Kode CD Harus Diisi !"); } if (txtidmember.Text == "") { errorProvider1.SetError(txtidmember, "ID Member Harus diisi !"); } if (dateTimePinjam.Text == "") { errorProvider1.SetError(dateTimePinjam, "Tanggal Pinjam harus diisi !"); } if (dateTimeKembali.Text == "") { errorProvider1.SetError(dateTimeKembali, "Tanggal Kembali harus diisi !"); } else { string[] baris = { txtkodePengembalian.Text, txtkodecd.Text, txtidmember.Text, dateTimePinjam.Text, dateTimeKembali.Text, txtlama.Text, txttotal.Text, txtdenda.Text}; dataGridView1.Rows.Add(baris); dataGridView1.AutoResizeColumns(); } } private void btnUbah_Click(object sender, EventArgs e) { dataGridView1.CurrentRow.Cells[0].Value = txtkodePengembalian.Text;
  • 15. dataGridView1.CurrentRow.Cells[1].Value = txtkodecd.Text; dataGridView1.CurrentRow.Cells[2].Value = txtidmember.Text; dataGridView1.CurrentRow.Cells[3].Value = dateTimePinjam.Text; dataGridView1.CurrentRow.Cells[4].Value = dateTimeKembali.Text; dataGridView1.CurrentRow.Cells[5].Value = txtlama; dataGridView1.CurrentRow.Cells[6].Value = txttotal.Text; dataGridView1.CurrentRow.Cells[7].Value = txtdenda.Text; } private void btnHapus_Click(object sender, EventArgs e) { dataGridView1.Rows.Clear(); } private void btnReset_Click(object sender, EventArgs e) { txtkodePengembalian.Clear(); txtkodecd.Clear(); txtidmember.Clear(); txtlama.Clear(); } private void tampildatagrid() { txtkodePengembalian.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString(); txtkodecd.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString(); txtidmember.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString(); dateTimePinjam.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString(); dateTimeKembali.Text = dataGridView1.CurrentRow.Cells[4].Value.ToString(); txtlama.Text = dataGridView1.CurrentRow.Cells[5].Value.ToString(); txttotal.Text = dataGridView1.CurrentRow.Cells[6].Value.ToString(); txtdenda.Text = dataGridView1.CurrentRow.Cells[7].Value.ToString(); } private void btnexit_Click(object sender, EventArgs e) { Close(); } private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { tampildatagrid(); } private void dataGridView1_KeyUp(object sender, KeyEventArgs e) { tampildatagrid(); } private void dataGridView1_KeyDown(object sender, KeyEventArgs e) { tampildatagrid(); } } }
  • 16. 2. HASIL RUNNING (OUTPUT PROGRAM) 2.1 FORM MENU
  • 17. 2.2 FORM JENIS CD 2.3 FORM NAMA CD
  • 18. 2.4 FORM MEMBER 2.5 FORM DATA PEMINJAMAN
  • 19. 2.6 FORM DATA PENGEMBALIAN