Minggu, 18 Januari 2015
coding form untuk memanggail form lain
Posted on 20.06 by aliwarno
form ini hanya memanggil form lain
1 D:\penggajian\penggajian\Form1.cs
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 penggajian
{
//form utama
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void karyawanToolStripMenuItem_Click(object sender, EventArgs e)
{
karyawan karyawan = new karyawan();
karyawan.ShowDialog();
}
private void golonganToolStripMenuItem_Click(object sender, EventArgs e)
{
golongan golongan = new golongan();
golongan.ShowDialog();
}
private void jabatanToolStripMenuItem_Click(object sender, EventArgs e)
{
jabatan jabatan = new jabatan();
jabatan.ShowDialog();
}
private void transaksiGajiToolStripMenuItem_Click(object sender, EventArgs e)
{
TransaksiGaji gaji = new TransaksiGaji();
gaji.ShowDialog();
}
private void absensiToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void bonusToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void keluarToolStripMenuItem1_Click(object sender, EventArgs e)
{
this.Close();
}
private void laporanToolStripMenuItem_Click(object sender, EventArgs e)
{
laporan laporan = new laporan();
laporan.ShowDialog();
}
private void menuStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
{
}
2 D:\penggajian\penggajian\Form1.cs
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar