private void tsSUPPLIER_Click(object sender, EventArgs e) { if (cUser.ismasterdata) { CLEAR_PANEL(); MASTER.FormSUPPLIER frm = new LOGISTICMANAGAMENTSYSTEM.MASTER.FormSUPPLIER(); SettForm(frm); } else { MessageBox.Show("Maaf anda tidak mempunyai akses ke modul ini, segera hubungi bagian terkait", "WARNING", MessageBoxButtons.OK, MessageBoxIcon.Stop); // Application.Exit(); } }
private void tsSUPPLIER_Click(object sender, EventArgs e) { if (cUser.ismasterdata) { CLEAR_PANEL(); MASTER.FormSUPPLIER frm = new LOGISTICMANAGAMENTSYSTEM.MASTER.FormSUPPLIER(); SettForm(frm); } else { MessageBox.Show("Maaf anda tidak mempunyai akses ke modul ini, segera hubungi bagian terkait", "WARNING", MessageBoxButtons.OK, MessageBoxIcon.Stop); // Application.Exit(); } }