private void btn_petugas_Click(object sender, EventArgs e) { panel_content.Controls.Clear(); pegawai home = new pegawai(); home.TopLevel = false; panel_content.Controls.Add(home); home.Show(); }
public pegawai_form(pegawai layout) { data = layout; InitializeComponent(); }