private void button3_Click(object sender, EventArgs e)
        {
            Pegawai peg = new Pegawai();

            peg.ShowDialog();
            textBox_userid.Text = peg.ambil_id_user;
        }
Exemple #2
0
        private void button_cariuser_Click(object sender, EventArgs e)
        {
            Pegawai log_pgw = new Pegawai();

            log_pgw.ShowDialog();
            textBox_iduser.Text   = log_pgw.ambil_id_user;
            textBox_namauser.Text = log_pgw.ambil_namauser;
        }