Billing |
Paket Billing |
Table Layout Object |
Aplikas Paket Billing
Berguna untuk menampilkan sistem management waktu seperti warnet, billing dan sebagainya
dengan pemberhentian serta pesan tarif pembayaran
Versi Modifikasi
Gemti menambahkan paket waktu yang lebih banyak
Gemti menambahkan 4 Radio aktif
Untuk menambah fungsi aplikasi
rincian serta layout silahkan lihat dan download
Rincian Codding Billing
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;
using System.Diagnostics;
namespace Aplikasi_Billing
{
public partial class Form1 : Form
{
private Stopwatch wkt = null;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text != "")
{
wkt = new Stopwatch();
if (button1.Text == "Login")
{
label2.Visible = true;
wkt.Start();
button1.Text = "Stop";
}
else if (button1.Text == "Stop")
{
wkt.Stop();
if (wkt.Elapsed.TotalMinutes <= 30.00)
{
MessageBox.Show("Jumlah Tagihan Anda Sebesar Rp.1000", "Total Tagihan");
}
else if (wkt.Elapsed.TotalHours <= 1.00)
{
MessageBox.Show("Jumlah Tagihan Anda Sebesar Rp.2000", "Total Tagihan");
}
wkt.Reset();
label2.Visible = false;
button1.Text = "Login";
textBox1.Text = null;
}
}
else if(textBox1.Text =="")
{
MessageBox.Show("Nama Harus Di isi.....!","Important Message");
}
}
private void timer1_Tick(object sender, EventArgs e)
{
if(wkt!=null)
{
label2.Text = wkt.Elapsed.ToString(@"hh\:mm\:ss");
}
}
}
}
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
namespace Aplikasi_Billing
{
public partial class Form1 : Form
{
private Stopwatch wkt = null;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text != "")
{
wkt = new Stopwatch();
if (button1.Text == "Login")
{
label2.Visible = true;
wkt.Start();
button1.Text = "Stop";
}
else if (button1.Text == "Stop")
{
wkt.Stop();
if (wkt.Elapsed.TotalMinutes <= 30.00)
{
MessageBox.Show("Jumlah Tagihan Anda Sebesar Rp.1000", "Total Tagihan");
}
else if (wkt.Elapsed.TotalHours <= 1.00)
{
MessageBox.Show("Jumlah Tagihan Anda Sebesar Rp.2000", "Total Tagihan");
}
wkt.Reset();
label2.Visible = false;
button1.Text = "Login";
textBox1.Text = null;
}
}
else if(textBox1.Text =="")
{
MessageBox.Show("Nama Harus Di isi.....!","Important Message");
}
}
private void timer1_Tick(object sender, EventArgs e)
{
if(wkt!=null)
{
label2.Text = wkt.Elapsed.ToString(@"hh\:mm\:ss");
}
}
}
}
Rincian Codding Paket Billing
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;
using System.Diagnostics;
namespace Aplikasi_Billing_Paket
{
public partial class Form1 : Form
{
private Stopwatch wkt = null;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text != "")
{
wkt = new Stopwatch();
if (button1.Text == "LOGIN")
{
if (radioButton1.Checked)
{
label10.Text = "1 jam";
}
else if (radioButton2.Checked)
{
label10.Text = "2 jam";
}
else if (radioButton3.Checked)
{
label10.Text = "3 jam";
}
else if (radioButton4.Checked)
{
label10.Text = "4 jam";
}
label3.Visible = true;
wkt.Start();
button1.Text = "STOP";
label10.Visible = true;
button1.Text ="STOP";
}
else if (button1.Text == "STOP")
{
wkt.Start();
if (radioButton1.Checked)
{
MessageBox.Show("Jumlah tagihan anda sebesar Rp 2000", "Total Tagihan Paket Regular");
}
if (radioButton2.Checked)
{
MessageBox.Show("Jumlah Tagihan anda sebesar Rp 3000", "Total Tahihan Paket Hemat");
}
if (radioButton3.Checked)
{
MessageBox.Show("Jumlah Tagihan anda sebesar Rp 4000", "Total Tahihan Paket Game 1");
}
if (radioButton4.Checked)
{
MessageBox.Show("Jumlah Tagihan anda sebesar Rp 5000", "Total Tahihan Paket Game 2");
}
wkt.Reset();
label3.Visible = false;
button1.Text = "LOGIN";
textBox1.Text = null;
label10.Visible = false;
button1.Text = "LOGIN";
}
}
else if (textBox1.Text == "")
{
MessageBox.Show("Nama Harus Diisi!!!", "Important Message");
}
}
private void timer1_Tick(object sender, EventArgs e)
{
if (wkt != null)
{
label3.Text = wkt.Elapsed.ToString(@"hh\:mm\:ss");
}
}
}
}
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
namespace Aplikasi_Billing_Paket
{
public partial class Form1 : Form
{
private Stopwatch wkt = null;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text != "")
{
wkt = new Stopwatch();
if (button1.Text == "LOGIN")
{
if (radioButton1.Checked)
{
label10.Text = "1 jam";
}
else if (radioButton2.Checked)
{
label10.Text = "2 jam";
}
else if (radioButton3.Checked)
{
label10.Text = "3 jam";
}
else if (radioButton4.Checked)
{
label10.Text = "4 jam";
}
label3.Visible = true;
wkt.Start();
button1.Text = "STOP";
label10.Visible = true;
button1.Text ="STOP";
}
else if (button1.Text == "STOP")
{
wkt.Start();
if (radioButton1.Checked)
{
MessageBox.Show("Jumlah tagihan anda sebesar Rp 2000", "Total Tagihan Paket Regular");
}
if (radioButton2.Checked)
{
MessageBox.Show("Jumlah Tagihan anda sebesar Rp 3000", "Total Tahihan Paket Hemat");
}
if (radioButton3.Checked)
{
MessageBox.Show("Jumlah Tagihan anda sebesar Rp 4000", "Total Tahihan Paket Game 1");
}
if (radioButton4.Checked)
{
MessageBox.Show("Jumlah Tagihan anda sebesar Rp 5000", "Total Tahihan Paket Game 2");
}
wkt.Reset();
label3.Visible = false;
button1.Text = "LOGIN";
textBox1.Text = null;
label10.Visible = false;
button1.Text = "LOGIN";
}
}
else if (textBox1.Text == "")
{
MessageBox.Show("Nama Harus Diisi!!!", "Important Message");
}
}
private void timer1_Tick(object sender, EventArgs e)
{
if (wkt != null)
{
label3.Text = wkt.Elapsed.ToString(@"hh\:mm\:ss");
}
}
}
}
Hasil Billing |
Hasil Paket Billing |
INGAT!!
Jika Anda kurang puas atau ingin menambahkan ide
Anda dapat mengkostumnya di Form/View code nya
Untuk keterangan lebih lanjut lihat slide
Download Slide
Download Program
Download Program Modifikasi
Selamat mencoba,
Semoga Bermanfaat.
1 komentar:
page not found mas
Posting Komentar